From: Christian Grothoff Date: Mon, 25 Feb 2019 21:04:04 +0000 (+0100) Subject: fix #5608 X-Git-Tag: v0.11.0~37^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b72d1fe12c340fc0f53c42309e9789bcb1d831f;p=oweals%2Fgnunet.git fix #5608 --- 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,