author | Mike Hommey <mh@glandium.org> | |
Tue, 11 Dec 2007 21:59:55 +0000 (22:59 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 12 Dec 2007 18:59:22 +0000 (10:59 -0800) | ||
commit | 03b69c7606267bc978c69cf88fcd7a8edf8175bc | |
tree | 7305a71d161adf2d7db014cacea71916dc8b874d | tree | snapshot |
parent | b0fe0d7258951779b790190b10ca21ffc5573546 | commit | diff |
Fix small memory leaks induced by diff_tree_setup_paths
Run diff_tree_release_paths in the appropriate places, and add a test to
avoid NULL dereference. Better safe than sorry.
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Run diff_tree_release_paths in the appropriate places, and add a test to
avoid NULL dereference. Better safe than sorry.
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c | diff | blob | history | |
builtin-reset.c | diff | blob | history | |
tree-diff.c | diff | blob | history |