X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fdiff.c;h=69cd5eed78cb402839813e7eca65b5598afa4a90;hb=c9321a0e20f3461cf4ae07a8320aa80480107f24;hp=14bd14fce0fa6b9c9b047142d23d4a2237b57a36;hpb=e2e4aed5defb2df8dbd523613ff4ef46050abb07;p=git.git diff --git a/builtin/diff.c b/builtin/diff.c index 14bd14fce..69cd5eed7 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; }