free_ldt_descriptor function
Free a descriptor.
Declaration
function free_ldt_descriptor(d: Word): BooleanDescription
Frees a previously allocated descriptor.
Parameters:
- des
- The descriptor to be freed.
Return value: True if successful, False otherwise.
Notes: After this call this selector is invalid and must not be used for any
memory operations anymore. Each descriptor allocated with
allocate_ldt_descriptors must be freed
individually with this function,
even if it was previously allocated as a part of a contiguous array of
descriptors.
For an example, see allocate_ldt_descriptors.
Errors
Check the int31error variable.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
