g_free


Description:

[ CCode ( cname = "g_free" ) ]
public DestroyNotify g_free

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

the memory to free


Namespace: GLib
Package: glib-2.0



2022 vala-language.org