From 088de93bcf0c7edb971bc630a0865282b3ea83a2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Jan 2018 21:54:31 +0100 Subject: [PATCH] fix memory leak --- src/multicast/gnunet-service-multicast.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c index ba1086cc5..d01227e2c 100644 --- a/src/multicast/gnunet-service-multicast.c +++ b/src/multicast/gnunet-service-multicast.c @@ -664,6 +664,7 @@ client_send_random (struct GNUNET_HashCode *pub_key_hash, if (n <= 0) n = GNUNET_CONTAINER_multihashmap_get_random (members, client_send_member_cb, (void *) env); + GNUNET_MQ_discard (env); return n; } -- 2.25.1