[#BloombergLP-bdlma-CountingAllocator-deallocate-09]
= 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&period; If `address` is 0, this function has no effect (e&period;g&period;, on allocation statistics)&period; Otherwise, decrease the number of currently allocated bytes by the size originally requested for the block&period; The behavior is undefined unless `address` was allocated using this allocator object and has not already been deallocated&period;

== Synopsis

Declared in `&lt;bdlma&lowbar;countingallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
deallocate(void* address) override;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
