Function
GLibfree_sized
since: 2.76
Description
Frees the memory pointed to by mem
, assuming it is has the given size
.
If mem
is NULL
this is a no-op (and size
is ignored).
It is an error if size
doesn’t match the size passed when mem
was
allocated. size
is passed to this function to allow optimizations in the
allocator. If you don’t know the allocation size, use g_free()
instead.
Available since: 2.76