Method Release
Release(HeapBlock)
Releases a given block of memory and marks it as free.
Declaration
public void Release(HeapBlock block)
Parameters
Type | Name | Description |
---|---|---|
HeapBlock | block | The HeapBlock to release to the allocator. |
Remarks
You must have wholly allocated the given block before you pass it into this method. However, it's legal to release big allocations in smaller non-overlapping sub-blocks.