From: Christian Grothoff Date: Wed, 25 Jan 2017 15:11:27 +0000 (+0100) Subject: fix leak X-Git-Tag: taler-0.2.1~303 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=646b5a63c3772b3bace12e8f43c62546cf8d775f;p=oweals%2Fgnunet.git fix leak --- 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; }