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>
Junio C Hamano committed
Mar 21, 2012 at 15:21 UTC
8192a2fafcd69fe1cad2fe84c99b03c63393c117
1 file changed
+1
builtin/apply.c
+1
@@ -210,6 +210,7 @@ static void free_patch(struct patch *patch)
210
free(patch->def_name);
211
free(patch->old_name);
212
free(patch->new_name);
213
+ free(patch->result);
214
free(patch);
215
}
216