[#bsl-allocator-080-deallocate-04]
= xref:bsl.adoc[bsl]::xref:bsl/allocator-080.adoc[allocator&lt;pair&lt;basic&lowbar;string&lt;char&gt; const, Json&gt;&gt;]::deallocate
:relfileprefix: ../../
:mrdocs:

Deallocate a block of memory at the specified `p` address by returning it to the memory resource held by this allocator&period; Optionally specify the number of objects, `n`, to deallocate&period; The behavior is undefined unless `p` is the address of a block previously allocated by a call to `allocate` with the same `n` from a copy of this allocator having the same `value&lowbar;type` and not yet deallocated&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
deallocate(
    xref:bsl/pair-0b.adoc[pair&lt;basic&lowbar;string&lt;char&gt; const, Json&gt;]* p,
    std::size&lowbar;t n = 1);
----


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