[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] poll: fix leak in ssh_poll_ctx_free


On Wednesday 30 October 2013 18:33:31 Jon Simons wrote:
> Hi,

Hey,

> Attached is a patch which I believe should address the memory
> leak reported here: https://red.libssh.org/issues/128.

I think you're right about the free, but the loop will not work, cause it only 
frees the first element. Check the attached patch.

	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Attachment: look
Description: application/mbox


Follow-Ups:
Re: [PATCH] poll: fix leak in ssh_poll_ctx_freeJon Simons <jon@xxxxxxxxxxxxx>
References:
[PATCH] poll: fix leak in ssh_poll_ctx_freeJon Simons <jon@xxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org