Return the memory at the specified address to this allocator.
Synopsis
Declared in <ball_countingallocator.h>
virtual
void
deallocate(void* address) override;
Description
Return the memory at the specified address back to this allocator and update the byte count maintained by this counting allocator appropriately. If address is 0, this function has no effect. The behavior is undefined unless address was allocated using this allocator and has not already been deallocated.
Parameters
Name |
Description |
address |
previously allocated memory to return; may be null |
Created with MrDocs