mirror of
https://github.com/git/git.git
synced 2024-10-30 22:07:53 +01: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue