From dc4cd767108532161d27554162a8742f5b607eb8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 20 Jun 2011 09:40:06 +0200 Subject: plug a few coverity-spotted leaks Signed-off-by: Jim Meyering Signed-off-by: Junio C Hamano --- builtin/diff.c | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin/diff.c') diff --git a/builtin/diff.c b/builtin/diff.c index 14bd14fce0..69cd5eed78 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -182,6 +182,7 @@ static int builtin_diff_combined(struct rev_info *revs, hashcpy((unsigned char *)(parent + i), ent[i].item->sha1); diff_tree_combined(parent[0], parent + 1, ents - 1, revs->dense_combined_merges, revs); + free(parent); return 0; } -- cgit v1.2.1