summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-20 14:34:34 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-20 14:34:34 -0400
commit9018529b4ed190484aade5971fc1c9f1bcccfc15 (patch)
treea3498992de3ade0b82208f807fb3e06384b9e2a8
parent883cb642cb1b58a5ede7ebf107aa7fee9025d622 (diff)
parent07ea3a7f5778af5656dd809006f0f5cdb48e33ef (diff)
downloadlibgit2-9018529b4ed190484aade5971fc1c9f1bcccfc15.tar.gz
Merge pull request #3238 from git-up/double_free
Fixed index being double-freed in stash tests
-rw-r--r--tests/stash/apply.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/stash/apply.c b/tests/stash/apply.c
index c242536be..c22a31bef 100644
--- a/tests/stash/apply.c
+++ b/tests/stash/apply.c
@@ -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)