src/free.c File Reference

#include "internal.h"

Go to the source code of this file.


void gsasl_free (void *ptr)

Function Documentation

void gsasl_free ( void *  ptr  ) 


ptr memory pointer

Invoke free() 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.