free_sized
Description:
Frees the memory pointed to by mem
, assuming it is has the given size
and alignment
.
If mem
is null this is a no-op (and size
is ignored).
It is an error if size
doesn’t match the size, or alignment
doesn’t match the alignment, passed when mem
was allocated. size
and alignment
are passed to this function to allow optimizations in the allocator. If you
don’t know either of them, use free instead.
Parameters:
mem |
the memory to free |
alignment |
alignment of |
size |
size of |
Namespace: GLib.Aligned
Package: glib-2.0