[#BloombergLP-bslma-MallocFreeAllocator-deallocate-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/MallocFreeAllocator.adoc[MallocFreeAllocator]::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 `std::free` is _not_ called when `address` is 0 (in order to avoid having to acquire a lock, and potential contention in multi‐treaded programs). == Synopsis Declared in `<bslma_mallocfreeallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void deallocate(void* address) override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#