From: Julius Bünger Date: Thu, 28 Dec 2017 18:03:51 +0000 (+0100) Subject: rps: stop destroying mq X-Git-Tag: gnunet-0.11.0rc0~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=62c89d65bc7032f6caa67a5251e2d705c3c3c7de;p=oweals%2Fgnunet.git rps: stop destroying mq --- diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index d3d642ee0..124b82b72 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -2129,7 +2129,6 @@ shutdown_task (void *cls) reply_cls); GNUNET_free (reply_cls); } - GNUNET_MQ_destroy (client_ctx->mq); GNUNET_CONTAINER_DLL_remove (cli_ctx_head, cli_ctx_tail, client_ctx); GNUNET_free (client_ctx); } diff --git a/src/rps/gnunet-service-rps_peers.c b/src/rps/gnunet-service-rps_peers.c index 26881518f..9cc4d3228 100644 --- a/src/rps/gnunet-service-rps_peers.c +++ b/src/rps/gnunet-service-rps_peers.c @@ -1182,11 +1182,6 @@ Peers_remove_peer (const struct GNUNET_PeerIdentity *peer) GNUNET_CADET_channel_destroy (peer_ctx->recv_channel); peer_ctx->recv_channel = NULL; } - if (NULL != peer_ctx->mq) - { - GNUNET_MQ_destroy (peer_ctx->mq); - peer_ctx->mq = NULL; - } GNUNET_free (peer_ctx->send_channel_flags); GNUNET_free (peer_ctx->recv_channel_flags);