From 187009e253efa54f6db690a16504adf7f2c32d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Sat, 2 Nov 2013 18:34:51 +0100 Subject: [PATCH] Fix a leak in the diff tests --- tests-clar/diff/workdir.c | 1 + 1 file changed, 1 insertion(+) 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",