[#BloombergLP-bdlma-CountingAllocator-deallocate-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/CountingAllocator.adoc[CountingAllocator]::deallocate :relfileprefix: ../../../ :mrdocs: Return the memory block at the specified `address` back to this allocator. If `address` is 0, this function has no effect (e.g., on allocation statistics). Otherwise, decrease the number of currently allocated bytes by the size originally requested for the block. The behavior is undefined unless `address` was allocated using this allocator object and has not already been deallocated. == Synopses Declared in `<bdlma_countingallocator.h>` Return the memory block at the specified `address` back to this allocator. If `address` is 0, this function has no effect (e.g., on allocation statistics). Otherwise, decrease the number of currently allocated bytes by the size originally requested for the block. The behavior is undefined unless `address` was allocated using this allocator object and has not already been deallocated. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:BloombergLP/bdlma/CountingAllocator/deallocate-09.adoc[deallocate](void* address) override; ---- [.small]#xref:BloombergLP/bdlma/CountingAllocator/deallocate-09.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]#