Commit f88e12db by Edward Thomson

checkout::index: free the index

parent 3f201f75
...@@ -140,6 +140,8 @@ void test_checkout_index__can_disable_pathspec_match(void) ...@@ -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/test10.txt", "original\n");
check_file_contents("testrepo/test11.txt", "original\n"); check_file_contents("testrepo/test11.txt", "original\n");
check_file_contents("testrepo/test12.txt", "modified\n"); check_file_contents("testrepo/test12.txt", "modified\n");
git_index_free(index);
} }
void test_checkout_index__honor_the_specified_pathspecs(void) void test_checkout_index__honor_the_specified_pathspecs(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment