diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2011-12-14 22:24:28 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-15 13:00:22 -0800 |
commit | bf3de2b373d4fa55b6040c7dc6f7f8668ef45c19 (patch) | |
tree | 111d251a3060c8ca8ec15b4f583cb06795f990cc /builtin/unpack-objects.c | |
parent | revert: stop creating and removing sequencer-old directory (diff) | |
download | tgif-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