mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 22:21:37 +00:00
tests: vector: fix memory leak
This commit is contained in:
parent
67dd314086
commit
61ad9bcd38
@ -404,4 +404,6 @@ void test_core_vector__reverse(void)
|
|||||||
|
|
||||||
for (i = 0; i < 5; i++)
|
for (i = 0; i < 5; i++)
|
||||||
cl_assert_equal_p(out2[i], git_vector_get(&v, i));
|
cl_assert_equal_p(out2[i], git_vector_get(&v, i));
|
||||||
|
|
||||||
|
git_vector_free(&v);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user