diff options
author | Edward Thomson <ethomson@github.com> | 2016-03-30 17:47:05 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-03-31 10:41:33 -0400 |
commit | 17442b28f9ba2dfa0fb596fe66c3a35847a8f606 (patch) | |
tree | b8d26bdd55a482f30b1fba7767152654f0488637 /tests/iterator/index.c | |
parent | 9705483342c281d719f97bf4e99d91938116418a (diff) | |
download | libgit2-17442b28f9ba2dfa0fb596fe66c3a35847a8f606.tar.gz |
leaks: fix some leaks in the tests
Diffstat (limited to 'tests/iterator/index.c')
-rw-r--r-- | tests/iterator/index.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/iterator/index.c b/tests/iterator/index.c index 64e7b14ba..b609d5990 100644 --- a/tests/iterator/index.c +++ b/tests/iterator/index.c @@ -970,7 +970,9 @@ void test_iterator_index__pathlist_with_directory(void) cl_git_pass(git_iterator_for_index(&i, g_repo, index, &i_opts)); expect_iterator_items(i, 4, NULL, 4, NULL); git_iterator_free(i); + git_index_free(index); + git_tree_free(tree); git_vector_free(&filelist); } |