Subject: Re: Memory leak in libssh2_session_startup?

Re: Memory leak in libssh2_session_startup?

From: Joseph Collins <jcollins_at_tsco.ca>
Date: Thu, 25 Mar 2010 15:38:16 -0700

Yes, this leak is always happening. I am using the latest release (1.2.4).

Since this is indeed a bug, I will file a bug report on Trac.

Thanks, Daniel.
--Joseph

On 3/25/2010 15:17 PM, Daniel Stenberg wrote:

On Thu, 25 Mar 2010, Joseph Collins wrote:

/> I'm using libssh2 to do some automated file transfers, and there's a
memory /
/> leak that's causing me some grief. /

Does this leak always happen for you? What libssh2 version is this?

/> Is there another method I should be calling to free whatever /
/> libssh2_session_startup is allocating? /

libssh2_session_free() is supposed to free all that memory and if it
doesn't
it bugs!

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-25