Skip to content

Commit 8192a2f

Browse files
committed
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 <[email protected]>
1 parent 5c87743 commit 8192a2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ static void free_patch(struct patch *patch)
210210
free(patch->def_name);
211211
free(patch->old_name);
212212
free(patch->new_name);
213+
free(patch->result);
213214
free(patch);
214215
}
215216

0 commit comments

Comments
 (0)