Code

fast-import.c: fix regression due to strbuf conversion
authorPierre Habouzit <madcoder@debian.org>
Fri, 26 Oct 2007 07:59:12 +0000 (09:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Oct 2007 22:28:09 +0000 (15:28 -0700)
commitc2e6b6d0d1e97c5bc2db24388e247bef62faf917
tree52d05ba65d84bafd530637daa5a477e4c2524213
parentd90a7fda355c251b8ffdd79617fb083c18245ec2
fast-import.c: fix regression due to strbuf conversion

Without this strbuf_detach(), it yields a double free later, the
command is in fact stashed, and this is not a memory leak.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fast-import.c