mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 16:34:33 +00:00
Merge pull request #3238 from git-up/double_free
Fixed index being double-freed in stash tests
This commit is contained in:
commit
9018529b4e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user