[#BloombergLP-balst-StackTraceTestAllocator-deallocate-06] = 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. == Synopses Declared in `<balst_stacktracetestallocator.h>` 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:BloombergLP/balst/StackTraceTestAllocator/deallocate-08.adoc[deallocate](void* address) override; ---- [.small]#xref:BloombergLP/balst/StackTraceTestAllocator/deallocate-08.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslma/Allocator/deallocate-077.adoc[deallocate]( void* __p, size_t __bytes, size_t __alignment = _S_max_align); ---- [.small]#xref:BloombergLP/bslma/Allocator/deallocate-077.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#