Commit 07ea3a7f by Pierre-Olivier Latour

Fixed index being double-freed in stash tests

parent 3e5b553a
......@@ -44,8 +44,6 @@ void test_stash_apply__initialize(void)
assert_status(repo, "how", GIT_STATUS_CURRENT);
assert_status(repo, "who", GIT_STATUS_CURRENT);
assert_status(repo, "when", GIT_ENOTFOUND);
git_index_free(repo_index);
}
void test_stash_apply__cleanup(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