diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-21 15:21:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-27 15:41:22 -0700 |
commit | 8192a2fafcd69fe1cad2fe84c99b03c63393c117 (patch) | |
tree | f169830c0413247a091af51d2f1f381078cdead7 | |
parent | apply: release memory for fn_table (diff) | |
download | tgif-8192a2fafcd69fe1cad2fe84c99b03c63393c117.tar.xz |
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>
-rw-r--r-- | builtin/apply.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/apply.c b/builtin/apply.c index 28668c889a..c65fb3f8da 100644 --- a/builtin/apply.c +++ b/builtin/apply.c @@ -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); } |