gsasl  2.2.1
Functions
src/free.c File Reference
#include <config.h>
#include "internal.h"

Go to the source code of this file.

Functions

void gsasl_free (void *ptr)
 

Function Documentation

◆ gsasl_free()

void gsasl_free ( void *  ptr)

gsasl_free:

Parameters
ptrmemory pointer

Invoke free(@ptr) to de-allocate memory pointer. Typically used on strings allocated by other libgsasl functions.

This is useful on Windows where libgsasl is linked to one CRT and the application is linked to another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio.

Since: 0.2.19

Definition at line 41 of file src/free.c.