gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 02/02: Fix memory leak in test_mq


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/02: Fix memory leak in test_mq
Date: Mon, 09 Oct 2017 21:51:48 +0200

This is an automated email from the git hooks/post-receive script.

david-barksdale pushed a commit to branch master
in repository gnunet.

commit cd26328e9654a64d6c6341c91c2b42c2528dfcaf
Author: David Barksdale <address@hidden>
AuthorDate: Mon Oct 9 14:51:28 2017 -0500

    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);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]