From 646b5a63c3772b3bace12e8f43c62546cf8d775f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Jan 2017 16:11:27 +0100 Subject: [PATCH] fix leak --- src/cadet/gnunet-service-cadet-new_channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index c3d5ef194..b5ddce6db 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c @@ -1169,6 +1169,7 @@ GCCH_handle_channel_plaintext_data (struct CadetChannel *ch, GNUNET_CONTAINER_DLL_remove (ccc->head_recv, ccc->tail_recv, com); + GNUNET_MQ_discard (com->env); GNUNET_free (com); return; } -- 2.25.1