summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-03-21 15:18:18 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-27 15:40:36 -0700
commit2901bbe5be41af3161fe99dede505833f26ff2bf (patch)
tree958df349c124e6b26de0ee2c9110b81e832e3e55 /dir.c
parentapply: rename free_patch() to free_patch_list() (diff)
downloadtgif-2901bbe5be41af3161fe99dede505833f26ff2bf.tar.xz
apply: free patch->{def,old,new}_name fields
These were all allocated in the heap by parsing the header parts of the patch, but we did not bother to free them. Some used to share the memory (e.g. copying def_name to old_name) so this is not just the matter of adding three calls to free(). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions