[#BloombergLP-bslma-NewDeleteAllocator-deallocate-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/NewDeleteAllocator.adoc[NewDeleteAllocator]::deallocate :relfileprefix: ../../../ :mrdocs: Return the memory block at the specified `address` back to this allocator. If `address` is 0, this function has no effect. The behavior is undefined unless `address` was allocated using this allocator object and has not already been deallocated. Note that global `operator delete` is _not_ called when `address` is 0 (in order to avoid having to acquire a lock, and potential contention in multi‐threaded programs). == Synopses Declared in `<bslma_newdeleteallocator.h>` Return the memory block at the specified `address` back to this allocator. If `address` is 0, this function has no effect. The behavior is undefined unless `address` was allocated using this allocator object and has not already been deallocated. Note that global `operator delete` is _not_ called when `address` is 0 (in order to avoid having to acquire a lock, and potential contention in multi‐threaded programs). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:BloombergLP/bslma/NewDeleteAllocator/deallocate-0b.adoc[deallocate](void* address) override; ---- [.small]#xref:BloombergLP/bslma/NewDeleteAllocator/deallocate-0b.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]#