diff options
Diffstat (limited to 'src/set/gnunet-service-set_union.c')
-rw-r--r-- | src/set/gnunet-service-set_union.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index 7d7ab27a5..8786807dc 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c | |||
@@ -1369,26 +1369,6 @@ send_client_element (struct Operation *op, | |||
1369 | 1369 | ||
1370 | 1370 | ||
1371 | /** | 1371 | /** |
1372 | * Destroy remote channel. | ||
1373 | * | ||
1374 | * @param op operation | ||
1375 | */ | ||
1376 | static void | ||
1377 | destroy_channel (struct Operation *op) | ||
1378 | { | ||
1379 | struct GNUNET_CADET_Channel *channel; | ||
1380 | |||
1381 | if (NULL != (channel = op->channel)) | ||
1382 | { | ||
1383 | /* This will free op; called conditionally as this helper function | ||
1384 | is also called from within the channel disconnect handler. */ | ||
1385 | op->channel = NULL; | ||
1386 | GNUNET_CADET_channel_destroy (channel); | ||
1387 | } | ||
1388 | } | ||
1389 | |||
1390 | |||
1391 | /** | ||
1392 | * Signal to the client that the operation has finished and | 1372 | * Signal to the client that the operation has finished and |
1393 | * destroy the operation. | 1373 | * destroy the operation. |
1394 | * | 1374 | * |