[#BloombergLP-bslma-TestAllocator-lastDeallocatedAddress]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::lastDeallocatedAddress
:relfileprefix: ../../../
:mrdocs:

Return the address supplied to the most recent deallocation request&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
lastDeallocatedAddress() const;
----

== Description

Return the address that was supplied to the most recent deallocation request&period; Return 0 if a null pointer was most recently deallocated&period; Note that the address is always recorded regardless of the validity of the request&period;

== Return Value

address from the most recent deallocation, or 0 if null


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