double free in builtin-update-index.c
authorPierre Habouzit <madcoder@debian.org>
Thu, 27 Sep 2007 10:51:18 +0000 (12:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 29 Sep 2007 08:40:19 +0000 (01:40 -0700)
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>
No differences found