Re: [PATCH] transport-helper: remove duplicate free()
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Dec 2, 2009, 23:00 UTC
- Message-ID
- <be6fef0d0912021500w313ac170m65251f7b8a4fa1de@mail.gmail.com>
- In-Reply-To
- <alpine.LNX.2.00.0912021120440.14365@iabervon.org>
Hi,
On Thu, Dec 3, 2009 at 12:23 AM, Daniel Barkalow <barkalow@iabervon.org> wrote:
> You need to remove the one in disconnect_helper, because the entire point > of disconnect_helper as opposed to release_helper is to *not* free that > memory. If you remove this one, you'll access freed memory in any case > where the helper has to be quit and restarted.
I see. I guess I should have looked more closely at f2a3715 (Fix memory leak in helper method for disconnect).
-- Cheers, Ray Chuan