From cd26328e9654a64d6c6341c91c2b42c2528dfcaf Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Mon, 9 Oct 2017 14:51:28 -0500 Subject: [PATCH] Fix memory leak in test_mq --- src/util/test_mq.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.25.1