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 /git-gui/lib/commit.tcl | |
| parent | d596118d7a9b104db10e64b2680a30ea80f1439c (diff) | |
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 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions
