[#BloombergLP-bdlma-DefaultDeleter-deleteObject]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/DefaultDeleter.adoc[DefaultDeleter]::deleteObject
:relfileprefix: ../../../
:mrdocs:

Destroy the specified `instance` based on its static type and return its memory footprint to the appropriate memory manager&period; The behavior is undefined unless the memory for the footprint of `instance` was supplied by the same allocator as is used by this default deleter&period; Note that this method does not destroy the deleter itself&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
deleteObject(TYPE* instance);
----


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