Function

GLibfree

Declaration

void
g_free (
  gpointer mem
)

Description

Frees the memory pointed to by mem.

If mem is NULL it simply returns, so there is no need to check mem against NULL before calling this function.

Parameters

mem

Type: gpointer

The memory to free.

The argument can be NULL.
The data is owned by the caller of the function.