diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-11-02 21:34:51 +0400 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-11-02 21:34:51 +0400 |
commit | 187009e253efa54f6db690a16504adf7f2c32d17 (patch) | |
tree | 72257ef7013e78a734fe82f2e0659a7b88f4010b /tests-clar | |
parent | 7f13edfdbbff733ecbde4020de00e3bfa8e5a868 (diff) |
Fix a leak in the diff tests
Diffstat (limited to 'tests-clar')
-rw-r--r-- | tests-clar/diff/workdir.c | 1 |
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", |