author | Pierre Habouzit <madcoder@debian.org> | |
Thu, 27 Sep 2007 10:51:18 +0000 (12:51 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 29 Sep 2007 08:40:19 +0000 (01:40 -0700) | ||
commit | 690b61f5f13db05aa4ad0efc422bd01aef3c1367 | |
tree | 7e2dc71449cd78c32661f45462158a7233dd2938 | tree | snapshot |
parent | 6d69b6f6ac27ab6f71a10da34b813ca25fd2a358 | commit | diff |
double free in builtin-update-index.c
path_name is either ptr that should not be freed, or a pointer to a strbuf
buffer that is deallocated when exiting the loop. Don't do that !
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path_name is either ptr that should not be freed, or a pointer to a strbuf
buffer that is deallocated when exiting the loop. Don't do that !
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-update-index.c | diff | blob | history |