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
     1.1 --- a/test/buffer_tests.c	Thu Sep 08 16:39:45 2016 +0200
     1.2 +++ b/test/buffer_tests.c	Thu Oct 13 16:25:21 2016 +0200
     1.3 @@ -79,6 +79,7 @@
     1.4      b->pos = 11; b->size = 10;
     1.5      UCX_TEST_ASSERT(ucx_buffer_eof(b), "false negative");
     1.6      UCX_TEST_END
     1.7 +    ucx_buffer_free(b);
     1.8  }
     1.9  
    1.10  UCX_TEST(test_ucx_buffer_seek_overflow) {

mercurial