diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-21 15:18:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-27 15:40:36 -0700 |
commit | 2901bbe5be41af3161fe99dede505833f26ff2bf (patch) | |
tree | 958df349c124e6b26de0ee2c9110b81e832e3e55 /help.c | |
parent | apply: rename free_patch() to free_patch_list() (diff) | |
download | tgif-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 'help.c')
0 files changed, 0 insertions, 0 deletions