1libssh2_exit(3)                 libssh2 manual                 libssh2_exit(3)
2
3
4

NAME

6       libssh2_free - deallocate libssh2 memory
7

SYNOPSIS

9       #include <libssh2.h>
10
11       void libssh2_free(LIBSSH2_SESSION *session, void *ptr);
12

DESCRIPTION

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

AVAILABILITY

22       Added in libssh2 1.2.8
23

SEE ALSO

25       libssh2_session_init_ex(3)
26
27
28
29libssh2 1.2.8                     13 Oct 2010                  libssh2_exit(3)
Impressum