]> git.proxmox.com Git - libgit2.git/commitdiff
tests: vector: fix memory leak
authorPatrick Steinhardt <ps@pks.im>
Thu, 27 Oct 2016 09:26:52 +0000 (11:26 +0200)
committerPatrick Steinhardt <ps@pks.im>
Thu, 27 Oct 2016 09:26:52 +0000 (11:26 +0200)
tests/core/vector.c

index 336254cce393be4e70a24c74d178c81e4a823a95..c2e5d3f34c96aaf37504a0b489f6f92f816be05f 100644 (file)
@@ -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);
 }