Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-11-02 21:34:51 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-11-02 21:34:51 +0400
commit187009e253efa54f6db690a16504adf7f2c32d17 (patch)
tree72257ef7013e78a734fe82f2e0659a7b88f4010b /tests-clar
parent7f13edfdbbff733ecbde4020de00e3bfa8e5a868 (diff)
Fix a leak in the diff tests
Diffstat (limited to 'tests-clar')
-rw-r--r--tests-clar/diff/workdir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests-clar/diff/workdir.c b/tests-clar/diff/workdir.c
index e72acdb03..60acd365d 100644
--- a/tests-clar/diff/workdir.c
+++ b/tests-clar/diff/workdir.c
@@ -1302,6 +1302,7 @@ void test_diff_workdir__patience_diff(void)
"When I wrote this\nI did not know\nhow to create\na patience diff\nI did not know\nhow to create\nanother problem\nI did not know\nhow to create\na minimal diff\n");
cl_git_pass(git_index_add_bypath(index, "test.txt"));
cl_repo_commit_from_index(NULL, g_repo, NULL, 1372350000, "Base");
+ git_index_free(index);
cl_git_rewritefile(
"empty_standard_repo/test.txt",