Subject: [libssh2] libssh2_session_startup: how to handle errors

[libssh2] libssh2_session_startup: how to handle errors

From: J.T. Conklin <jtc_at_acorntoolworks.com>
Date: Thu, 24 Apr 2008 20:42:36 -0700

Hi,

If libssh2_session_startup() fails, is a libssh2_session_free() needed
to reclaim resources? I assume so, but the example programs just exit
on return (compared with other failures, which do end up calling
libssh2_session_free()).

    --jtc

-- 
J.T. Conklin
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2008-04-25