libssh2_free - deallocate libssh2 memory
#include <libssh2.h> void libssh2_free(LIBSSH2_SESSION *session, void *ptr);
libssh2_exit(3ssh2) libssh2 manual libssh2_exit(3ssh2) NAME libssh2_free - deallocate libssh2 memory SYNOPSIS #include <libssh2.h> void libssh2_free(LIBSSH2_SESSION *session, void *ptr); DESCRIPTION Deallocate memory allocated by earlier call to libssh2 functions. It uses the memory allocation callbacks provided by the application, if any. Otherwise, this will just call free(). This function is mostly useful under Windows when libssh2 is linked to one run-time library and the application to another. AVAILABILITY Added in libssh2 1.2.8 ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+------------------+ |Availability | library/libssh2 | +---------------+------------------+ |Stability | Uncommitted | +---------------+------------------+ SEE ALSO libssh2_session_init_ex(3) NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://www.libssh2.org/download/lib- ssh2-1.10.0.tar.gz. Further information about this software can be found on the open source community website at https://www.libssh2.org/. libssh2 1.2.8 13 Oct 2010 libssh2_exit(3ssh2)