Fixed index being double-freed in stash tests

This commit is contained in:
Pierre-Olivier Latour 2015-06-20 10:57:03 -07:00
parent 3e5b553ae1
commit 07ea3a7f57

View File

@ -44,8 +44,6 @@ void test_stash_apply__initialize(void)
assert_status(repo, "how", GIT_STATUS_CURRENT); assert_status(repo, "how", GIT_STATUS_CURRENT);
assert_status(repo, "who", GIT_STATUS_CURRENT); assert_status(repo, "who", GIT_STATUS_CURRENT);
assert_status(repo, "when", GIT_ENOTFOUND); assert_status(repo, "when", GIT_ENOTFOUND);
git_index_free(repo_index);
} }
void test_stash_apply__cleanup(void) void test_stash_apply__cleanup(void)