stFixedMemFree function
Declaration:
BOOL stFixedMemFree(
  PVOID MemoryPool,
  PVOID Address
);
Parameters:
MemoryPool

Address of memory pool.

Address

Address of the block to release.

Return value:

TRUE on success or FALSE on failure.

Description:

Function releases memory block allocated by stFixedMemAllocfunction. It does not set the last error code on failure. Access to the fixed memory is never synchronized. If it is mandatory it should be implemented.

Function will be excluded from compilation when functions responsible for memory management are disabled, by setting ST_USE_FIXMEM for 0.

Version:1.0
Header file:ST_FixMem.h (include ST_API.h)
See also: BOOL, FALSE, fixed size memory pool initialization example, memory allocation example, PVOID, ST_USE_FIXMEM, stFixedMemAlloc, TRUE
SpaceShadow documentation