libssh2_free.3 (606B)
1.TH libssh2_free 3 "13 Oct 2010" "libssh2" "libssh2" 2.SH NAME 3libssh2_free - deallocate libssh2 memory 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8void 9libssh2_free(LIBSSH2_SESSION *session, void *ptr); 10.fi 11.SH DESCRIPTION 12Deallocate memory allocated by earlier call to libssh2 functions. It 13uses the memory allocation callbacks provided by the application, if 14any. Otherwise, this will call free(). 15 16This function is mostly useful under Windows when libssh2 is linked to 17one run-time library and the application to another. 18.SH AVAILABILITY 19Added in libssh2 1.2.8 20.SH SEE ALSO 21.BR libssh2_session_init_ex(3)