summaryrefslogtreecommitdiff
path: root/vcs-svn
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2011-12-14 16:54:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-12-15 21:00:22 (GMT)
commitbf3de2b373d4fa55b6040c7dc6f7f8668ef45c19 (patch)
tree111d251a3060c8ca8ec15b4f583cb06795f990cc /vcs-svn
parentd596118d7a9b104db10e64b2680a30ea80f1439c (diff)
downloadgit-bf3de2b373d4fa55b6040c7dc6f7f8668ef45c19.zip
git-bf3de2b373d4fa55b6040c7dc6f7f8668ef45c19.tar.gz
git-bf3de2b373d4fa55b6040c7dc6f7f8668ef45c19.tar.bz2
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 'vcs-svn')
0 files changed, 0 insertions, 0 deletions