summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhostetler@me.com>2015-06-12 09:28:47 -0700
committerJeff Hostetler <jeffhostetler@me.com>2015-06-12 09:28:47 -0700
commit26d5c0b823bfce9106cbfa51c9c020874470f19e (patch)
treeae48bed6a475e87407c06c2a0fb978c947fb2572 /tests
parent82a7a24cf4a40ed94a4dc05ee2d91733e506ac1c (diff)
downloadlibgit2-26d5c0b823bfce9106cbfa51c9c020874470f19e.tar.gz
Fix leaks in tests/checkout/icase
Diffstat (limited to 'tests')
-rw-r--r--tests/checkout/icase.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/checkout/icase.c b/tests/checkout/icase.c
index 510f5424d..55ab3ab24 100644
--- a/tests/checkout/icase.c
+++ b/tests/checkout/icase.c
@@ -269,7 +269,9 @@ void test_checkout_icase__ignores_unstaged_casechange(void)
cl_git_pass(git_checkout_tree(repo, (const git_object *)br2, &checkout_opts));
git_commit_free(orig);
+ git_commit_free(br2);
git_reference_free(orig_ref);
+ git_reference_free(br2_ref);
}
void test_checkout_icase__conflicts_with_casechanged_subtrees(void)