summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2015-06-20 10:57:03 -0700
committerPierre-Olivier Latour <pol@mac.com>2015-06-20 10:57:03 -0700
commit07ea3a7f5778af5656dd809006f0f5cdb48e33ef (patch)
treebe08b1133d80c0cde7440d834f8252e807407cbf
parent3e5b553ae1f29e0388b8c64624e54b84b33a945e (diff)
downloadlibgit2-07ea3a7f5778af5656dd809006f0f5cdb48e33ef.tar.gz
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)