apply: free patch->result

This is by far the largest piece of data, much larger than the patch and
fragment structures or the three name fields in the patch structure.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2012-03-21 15:21:32 -07:00
parent 5c8774330f
commit 8192a2fafc

View file

@ -210,6 +210,7 @@ static void free_patch(struct patch *patch)
free(patch->def_name);
free(patch->old_name);
free(patch->new_name);
free(patch->result);
free(patch);
}