Commit d90390c1 by nulltoken

test: Fix memory leak

parent c4ac556e
...@@ -587,6 +587,8 @@ void test_checkout_index__target_directory_from_bare(void) ...@@ -587,6 +587,8 @@ void test_checkout_index__target_directory_from_bare(void)
cl_git_pass(git_futils_rmdir_r( cl_git_pass(git_futils_rmdir_r(
"alternative", NULL, GIT_RMDIR_REMOVE_FILES)); "alternative", NULL, GIT_RMDIR_REMOVE_FILES));
git_object_free(head);
} }
void test_checkout_index__can_get_repo_from_index(void) void test_checkout_index__can_get_repo_from_index(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