summaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-03-27 15:14:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-27 15:40:39 -0700
commit5c8774330f5cc7a5e9a4f9e016e06bea6814d8b5 (patch)
treeaa7a9eaeee9ee3498b85dc76a11b72698b7b1f3c /pretty.c
parentapply: free patch->{def,old,new}_name fields (diff)
downloadtgif-5c8774330f5cc7a5e9a4f9e016e06bea6814d8b5.tar.xz
apply: release memory for fn_table
The fn_table is used to record the result of earlier patch application in case a hand-crafted input file contains multiple patches to the same file. Both its string key (filename) and the contents are borrowed from "struct patch" that represents the previous application in the same apply_patch() call, and they do not leak, but the table itself was not freed properly. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.c')
0 files changed, 0 insertions, 0 deletions