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 /builtin/apply.c | |
parent | 5c8774330f5cc7a5e9a4f9e016e06bea6814d8b5 (diff) | |
download | git-8192a2fafcd69fe1cad2fe84c99b03c63393c117.tar.gz |
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>
Diffstat (limited to 'builtin/apply.c')
-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); } |