Skip to content

Commit

Permalink
test: Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
nulltoken committed Jun 29, 2013
1 parent c4ac556 commit d90390c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests-clar/checkout/index.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d90390c

Please sign in to comment.