Sign in Join
FPDoc Onlineexperiment

free_memory_block function

In unit go32

Free allocated memory block.

Declaration

pascal
function free_memory_block(blockhandle: LongInt): Boolean

Description

Frees a previously allocated memory block.

Parameters:

blockhandle
the handle to the memory area to free.

Return value: True if successful, false otherwise. Notes: Frees memory that was previously allocated with allocate_memory_block . This function doesn't free any descriptors mapped to this block, it's the application's responsibility.

Errors

Check int31error variable.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.