libssh2_free - Man Page

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 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

See Also

libssh2_session_init_ex(3)

Referenced By

libssh2_session_supported_algs(3).

13 Oct 2010 libssh2