fixes memory leak in test_ucx_buffer_eof

Thu, 13 Oct 2016 16:25:21 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 13 Oct 2016 16:25:21 +0200
changeset 227
740fbd7bab71
parent 226
669136d4e3af
child 228
9f385abc72fb

fixes memory leak in test_ucx_buffer_eof

test/buffer_tests.c file | annotate | diff | comparison | revisions
--- a/test/buffer_tests.c	Thu Sep 08 16:39:45 2016 +0200
+++ b/test/buffer_tests.c	Thu Oct 13 16:25:21 2016 +0200
@@ -79,6 +79,7 @@
     b->pos = 11; b->size = 10;
     UCX_TEST_ASSERT(ucx_buffer_eof(b), "false negative");
     UCX_TEST_END
+    ucx_buffer_free(b);
 }
 
 UCX_TEST(test_ucx_buffer_seek_overflow) {

mercurial