sliceFree1

Frees a block of memory.

The memory must have been allocated via g_slice_alloc() or g_slice_alloc0() and the block_size has to match the size specified upon allocation. Note that the exact release behaviour can be changed with the [G_DEBUG=gc-friendly]G_DEBUG environment variable, also see [G_SLICE]G_SLICE for related debugging options.

If mem_block is NULL, this function does nothing.

void
sliceFree1
(
size_t blockSize
,
void* memBlock
)

Parameters

blockSize size_t

the size of the block

memBlock void*

a pointer to the block to free

Meta

Since

2.10