summaryrefslogtreecommitdiff
path: root/tests/stash/apply.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stash/apply.c')
-rw-r--r--tests/stash/apply.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stash/apply.c b/tests/stash/apply.c
index 213945e9b..42186b6fb 100644
--- a/tests/stash/apply.c
+++ b/tests/stash/apply.c
@@ -44,6 +44,8 @@ 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)