On Sat, 28 Mar 2009, Jean-Louis CHARTON wrote:

> => Here, notice that on failure, session->userauth_host_method is freed.
> Also notice that in userauth_hostbased_fromfile, there is no call to
> free pubkeydata.

> So I believe there is a memory leak in userauth_hostbased_fromfile.
>
> Am I right or is there something I've missed?

I'd say you're entirely right! I've committed a fix for this just now. Thanks 
a lot for your great catch!

-- 

  / daniel.haxx.se

------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to