aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_mq.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2017-10-09 14:51:28 -0500
committerDavid Barksdale <amatus@amat.us>2017-10-09 14:51:28 -0500
commitcd26328e9654a64d6c6341c91c2b42c2528dfcaf (patch)
tree7673c423b87966fd7bb7df7da6cbe470f08a92f4 /src/util/test_mq.c
parent567e54b97c4d354cff9aa7f6841ae90b251fbe70 (diff)
downloadgnunet-cd26328e9654a64d6c6341c91c2b42c2528dfcaf.tar.gz
gnunet-cd26328e9654a64d6c6341c91c2b42c2528dfcaf.zip
Fix memory leak in test_mq
Diffstat (limited to 'src/util/test_mq.c')
-rw-r--r--src/util/test_mq.c1
1 files changed, 1 insertions, 0 deletions
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 ()
51 GNUNET_assert (NULL != mm); 51 GNUNET_assert (NULL != mm);
52 GNUNET_assert (42 == ntohs (mm->header.type)); 52 GNUNET_assert (42 == ntohs (mm->header.type));
53 GNUNET_assert (sizeof (struct MyMessage) == ntohs (mm->header.size)); 53 GNUNET_assert (sizeof (struct MyMessage) == ntohs (mm->header.size));
54 GNUNET_MQ_discard (mqm);
54} 55}
55 56
56 57