From: David Barksdale Date: Mon, 9 Oct 2017 19:51:28 +0000 (-0500) Subject: Fix memory leak in test_mq X-Git-Tag: gnunet-0.11.0rc0~102^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd26328e9654a64d6c6341c91c2b42c2528dfcaf;p=oweals%2Fgnunet.git Fix memory leak in test_mq --- diff --git a/src/util/test_mq.c b/src/util/test_mq.c index 442c110db..9e8fc844e 100644 --- a/src/util/test_mq.c +++ b/src/util/test_mq.c @@ -51,6 +51,7 @@ test1 () GNUNET_assert (NULL != mm); GNUNET_assert (42 == ntohs (mm->header.type)); GNUNET_assert (sizeof (struct MyMessage) == ntohs (mm->header.size)); + GNUNET_MQ_discard (mqm); }