summaryrefslogtreecommitdiff
path: root/builtin/unpack-objects.c
diff options
context:
space:
mode:
authorLibravatar Ramkumar Ramachandra <artagnon@gmail.com>2011-12-14 22:24:28 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-15 13:00:22 -0800
commitbf3de2b373d4fa55b6040c7dc6f7f8668ef45c19 (patch)
tree111d251a3060c8ca8ec15b4f583cb06795f990cc /builtin/unpack-objects.c
parentrevert: stop creating and removing sequencer-old directory (diff)
downloadtgif-bf3de2b373d4fa55b6040c7dc6f7f8668ef45c19.tar.xz
revert: free msg in format_todo()
Memory allocated to the fields of msg by get_message() isn't freed. This is potentially a big leak, because fresh memory is allocated to store the commit message for each commit. Fix this using free_message(). Reported-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/unpack-objects.c')
0 files changed, 0 insertions, 0 deletions