diff options
author | Jim Meyering <jim@meyering.net> | 2011-06-20 09:40:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-20 14:27:36 -0700 |
commit | dc4cd767108532161d27554162a8742f5b607eb8 (patch) | |
tree | 605e8af6e513dbe39435b256b3f8b164911a8d6d /builtin/diff.c | |
parent | 28eb1afec90fab398fc58a1d6119b9e99a733f87 (diff) | |
download | git-dc4cd767108532161d27554162a8742f5b607eb8.tar.gz |
plug a few coverity-spotted leaks
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |