diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-06-29 13:38:27 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-06-29 13:38:27 +0200 |
commit | d90390c162418deb62302b3f56835ff781c0cfee (patch) | |
tree | 4d8e650f0ca86534d8b7663d6071e31609604b2a | |
parent | c4ac556ee7171ee206e11687907d5dbee3ce0a6d (diff) | |
download | libgit2-d90390c162418deb62302b3f56835ff781c0cfee.tar.gz |
test: Fix memory leak
-rw-r--r-- | tests-clar/checkout/index.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/checkout/index.c b/tests-clar/checkout/index.c index 9d8b321ae..982bf9ee5 100644 --- a/tests-clar/checkout/index.c +++ b/tests-clar/checkout/index.c @@ -587,6 +587,8 @@ void test_checkout_index__target_directory_from_bare(void) cl_git_pass(git_futils_rmdir_r( "alternative", NULL, GIT_RMDIR_REMOVE_FILES)); + + git_object_free(head); } void test_checkout_index__can_get_repo_from_index(void) |