[#BloombergLP-balst-StackTraceTestAllocator-deallocate-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::deallocate :relfileprefix: ../../../ :mrdocs: Return the memory block at the specified `address` back to this allocator. If `address` is 0, this function has no effect. Otherwise, if the memory at `address` is consistent with being allocated from this test allocator, deallocate it using the underlying allocator and delete it from the data structures keeping track of blocks in use'. If `address` is not zero and is not the address of a block allocated with this allocator (or if it is being deallocated a second time), write an error message and call the failure handler. == Synopsis Declared in `<balst_stacktracetestallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void deallocate(void* address) override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#