[#BloombergLP-bslma-DeallocatorGuard-2destructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/DeallocatorGuard.adoc[DeallocatorGuard]::&#126;DeallocatorGuard
:relfileprefix: ../../../
:mrdocs:

Destroy this guard and deallocate its managed memory block&period;

== Synopsis

Declared in `&lt;bslma&lowbar;deallocatorguard&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&#126;DeallocatorGuard();
----

== Description

Destroy this deallocator guard and deallocate the block of memory it manages by invoking the `deallocate` method of the allocator (or pool) that was supplied with the address of the (managed) memory at construction&period;


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