Subject: Re: Memory leak in libssh2_session_startup?

Re: Memory leak in libssh2_session_startup?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 25 Mar 2010 23:17:01 +0100 (CET)

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!

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