summaryrefslogtreecommitdiff
path: root/tests/index/cache.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2014-10-13 14:34:32 -0400
committerEdward Thomson <ethomson@microsoft.com>2014-10-26 22:27:44 -0400
commitcdd71711cedd3c79a10f75ea8ff98c3979bf6c6c (patch)
tree38fd33fa71f1d8abc13c609529ca429182518b46 /tests/index/cache.c
parent369b0217330383925d8091ae01079789cde80598 (diff)
downloadlibgit2-cdd71711cedd3c79a10f75ea8ff98c3979bf6c6c.tar.gz
Clean up some memory leaks
Diffstat (limited to 'tests/index/cache.c')
-rw-r--r--tests/index/cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/index/cache.c b/tests/index/cache.c
index de5cd8308..3982bf183 100644
--- a/tests/index/cache.c
+++ b/tests/index/cache.c
@@ -170,6 +170,8 @@ void test_index_cache__two_levels(void)
tree_cache = git_tree_cache_get(index->tree, "subdir");
cl_assert(tree_cache);
cl_assert_equal_i(1, tree_cache->entry_count);
+
+ git_index_free(index);
}
void test_index_cache__read_tree_children(void)