[#BloombergLP-bdlma-GuardingAllocator-deallocate-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/GuardingAllocator.adoc[GuardingAllocator]::deallocate :relfileprefix: ../../../ :mrdocs: Return the memory block at the specified `address` back to this allocator. If `address` is 0, this method has no effect. Otherwise, the guard page associated with `address` is unprotected and also deallocated. The behavior is undefined unless `address` was returned by `allocate` and has not already been deallocated. == Synopses Declared in `<bdlma_guardingallocator.h>` Return the memory block at the specified `address` back to this allocator. If `address` is 0, this method has no effect. Otherwise, the guard page associated with `address` is unprotected and also deallocated. The behavior is undefined unless `address` was returned by `allocate` and has not already been deallocated. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:BloombergLP/bdlma/GuardingAllocator/deallocate-00.adoc[deallocate](void* address) override; ---- [.small]#xref:BloombergLP/bdlma/GuardingAllocator/deallocate-00.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]#