projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c87743
)
apply: free patch->result
author
Junio C Hamano
<gitster@pobox.com>
Wed, 21 Mar 2012 22:21:32 +0000
(15:21 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Mar 2012 22:41:22 +0000
(15:41 -0700)
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>
builtin/apply.c
patch
|
blob
|
history
diff --git
a/builtin/apply.c
b/builtin/apply.c
index 28668c889a70585825bf24c78105576790a4f018..c65fb3f8dad04b22f5357e019eb87fa4d0d47bfe 100644
(file)
--- 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);
}