summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-25 22:04:04 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-25 22:04:04 +0100
commit4b72d1fe12c340fc0f53c42309e9789bcb1d831f (patch)
treed024de6edef3f85f3d7739c35e8e4d1a7a74850e
parent3cb49e832b2f4237bfb895720b4d3c3dbcf881e5 (diff)
fix #5608
-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,