Re: [PATCH] Fix regression in fast-import.c due to strbufs.
- From
- cpettitt <cpettitt@gmail.com>
- Date
- Oct 26, 2007, 16:39 UTC
- Message-ID
- <de47e4420710260939h65fbf62dg8d1644a5cd879c23@mail.gmail.com>
- In-Reply-To
- <20071026075912.GA25365@artemis.corp>
On 10/26/07, Pierre Habouzit <madcoder@debian.org> wrote:
> Without this strbuf_release, 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>
Pierre,
You nailed it! No more double frees and no segfault.
Thanks, Chris