1libssh2_exit(3) libssh2 manual libssh2_exit(3)
2
3
4
6 libssh2_free - deallocate libssh2 memory
7
9 #include <libssh2.h>
10
11 void libssh2_free(LIBSSH2_SESSION *session, void *ptr);
12
14 Deallocate memory allocated by earlier call to libssh2 functions. It
15 uses the memory allocation callbacks provided by the application, if
16 any. Otherwise, this will just call free().
17
18 This function is mostly useful under Windows when libssh2 is linked to
19 one run-time library and the application to another.
20
22 Added in libssh2 1.2.8
23
25 libssh2_session_init_ex(3)
26
27
28
29libssh2 1.2.8 13 Oct 2010 libssh2_exit(3)