summaryrefslogtreecommitdiff
path: root/src/set
diff options
context:
space:
mode:
Diffstat (limited to 'src/set')
-rw-r--r--src/set/gnunet-service-set.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c
index c71eb6edc..71f74594f 100644
--- a/src/set/gnunet-service-set.c
+++ b/src/set/gnunet-service-set.c
@@ -1221,8 +1221,11 @@ _GSS_operation_destroy2 (struct Operation *op)
GNUNET_CADET_channel_destroy (channel);
}
if (NULL != op->listener)
+ {
incoming_destroy (op);
- else if (NULL != op->set)
+ return;
+ }
+ if (NULL != op->set)
op->set->vt->channel_death (op);
else
_GSS_operation_destroy (op,