mirror of
https://github.com/git/git.git
synced 2024-12-14 04:18:16 +08:00
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:
parent
5c8774330f
commit
8192a2fafc
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user