Free pooled memory block
Source position: exec.pas line 1330
procedure FreePooled( |
PoolHeader: Pointer; |
Memory: Pointer; |
MemSize: LongWord |
); |
PoolHeader |
|
A pointer to the pool this memory block belongs to. |
Memory |
|
Pointer to the memory to free. |
MemSize |
|
Number of bytes to free. Must match the size used when AllocPooled was done. |
Free a memory block which belongs to a memory pool. The block is removed from the pool. Only Memory allocated with AllocPooled() are freed with this function.
|
Allocate memory in a memory pool |
|
|
Create a new pool for memory allocations |
|
|
Free a memory pool |