summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/checkout/index.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/checkout/index.c b/tests/checkout/index.c
index 7b5f3c79b..508975365 100644
--- a/tests/checkout/index.c
+++ b/tests/checkout/index.c
@@ -140,6 +140,8 @@ void test_checkout_index__can_disable_pathspec_match(void)
check_file_contents("testrepo/test10.txt", "original\n");
check_file_contents("testrepo/test11.txt", "original\n");
check_file_contents("testrepo/test12.txt", "modified\n");
+
+ git_index_free(index);
}
void test_checkout_index__honor_the_specified_pathspecs(void)