Commit ae22ef0e by Carlos Martín Nieto

Merge pull request #3217 from jeffhostetler/leak_checkout_icase

Fix leaks in tests/checkout/icase
parents f2dec481 26d5c0b8
...@@ -269,7 +269,9 @@ void test_checkout_icase__ignores_unstaged_casechange(void) ...@@ -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)); cl_git_pass(git_checkout_tree(repo, (const git_object *)br2, &checkout_opts));
git_commit_free(orig); git_commit_free(orig);
git_commit_free(br2);
git_reference_free(orig_ref); git_reference_free(orig_ref);
git_reference_free(br2_ref);
} }
void test_checkout_icase__conflicts_with_casechanged_subtrees(void) void test_checkout_icase__conflicts_with_casechanged_subtrees(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment