]> git.ipfire.org Git - thirdparty/git.git/commit - diffcore-rename.c
Plug diff leaks.
authorJunio C Hamano <junkio@cox.net>
Thu, 15 Sep 2005 23:13:43 +0000 (16:13 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 15 Sep 2005 23:13:43 +0000 (16:13 -0700)
commit5098bafb756de69d03882707a3382899c0cb7dd1
tree694e88e3a9a2187150f7af09bb9b06a861d7b53b
parent98533b90cb8e88484cb381334b19cbf4f7cf92b1
Plug diff leaks.

It is a bit embarrassing that it took this long for a fix since the
problem was first reported on Aug 13th.

    Message-ID: <87y876gl1r.wl@mail2.atmark-techno.com>
    From: Yasushi SHOJI <yashi@atmark-techno.com>
    Newsgroups: gmane.comp.version-control.git
    Subject: [patch] possible memory leak in diff.c::diff_free_filepair()
    Date: Sat, 13 Aug 2005 19:58:56 +0900

This time I used valgrind to make sure that it does not overeagerly
discard memory that is still being used.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diff-tree.c
diff.c
diffcore-rename.c