[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] poll: fix leak in ssh_poll_ctx_free
[Thread Prev] | [Thread Next]
- Subject: Re: [PATCH] poll: fix leak in ssh_poll_ctx_free
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 31 Oct 2013 08:34:42 +0100
- To: libssh@xxxxxxxxxx
- Cc: Jon Simons <jon@xxxxxxxxxxxxx>
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
Re: [PATCH] poll: fix leak in ssh_poll_ctx_free | Jon Simons <jon@xxxxxxxxxxxxx> |
[PATCH] poll: fix leak in ssh_poll_ctx_free | Jon Simons <jon@xxxxxxxxxxxxx> |