summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-10-27 11:26:52 +0200
committerPatrick Steinhardt <ps@pks.im>2016-10-27 11:26:52 +0200
commit61ad9bcd3893df47e9856892d1fd38c1da514dd7 (patch)
tree182394d205b5f3676ce5df669a05d9534b3d2ec8 /tests
parent67dd314086fd743f2fc5032e9c7ff901cb5e8bab (diff)
downloadlibgit2-61ad9bcd3893df47e9856892d1fd38c1da514dd7.tar.gz
tests: vector: fix memory leak
Diffstat (limited to 'tests')
-rw-r--r--tests/core/vector.c2
1 files changed, 2 insertions, 0 deletions
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);
}