From: Patrick Steinhardt Date: Thu, 27 Oct 2016 09:26:52 +0000 (+0200) Subject: tests: vector: fix memory leak X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=61ad9bcd3893df47e9856892d1fd38c1da514dd7;p=libgit2.git tests: vector: fix memory leak --- diff --git a/tests/core/vector.c b/tests/core/vector.c index 336254cce..c2e5d3f34 100644 --- a/tests/core/vector.c +++ b/tests/core/vector.c @@ -404,4 +404,6 @@ void test_core_vector__reverse(void) for (i = 0; i < 5; i++) cl_assert_equal_p(out2[i], git_vector_get(&v, i)); + + git_vector_free(&v); }