fix #5608
authorChristian Grothoff <christian@grothoff.org>
Mon, 25 Feb 2019 21:04:04 +0000 (22:04 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 25 Feb 2019 21:04:04 +0000 (22:04 +0100)
src/set/gnunet-service-set.c

index c71eb6edce1003015efaa8048f78039d3d015e70..71f74594f9e3943b7591884a76459c33dfc8362f 100644 (file)
@@ -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,