libssh2_free.3 616 B

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