plug a few coverity-spotted leaks
Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
28eb1afec9
commit
dc4cd76710
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user