projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
567e54b
)
Fix memory leak in test_mq
author
David Barksdale
<amatus@amat.us>
Mon, 9 Oct 2017 19:51:28 +0000
(14:51 -0500)
committer
David Barksdale
<amatus@amat.us>
Mon, 9 Oct 2017 19:51:28 +0000
(14:51 -0500)
src/util/test_mq.c
patch
|
blob
|
history
diff --git
a/src/util/test_mq.c
b/src/util/test_mq.c
index 442c110dbd971e57bee917f441081a4ab4c22190..9e8fc844ee23756a2ee8f73da2e71513035ba914 100644
(file)
--- 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);
}