[#zero_after_free_allocator-0c-deallocate]
= xref:zero_after_free_allocator-0c.adoc[zero&lowbar;after&lowbar;free&lowbar;allocator&lt;byte&gt;]::deallocate
:relfileprefix: ../
:mrdocs:

Clears and returns memory previously obtained from allocate&period;

== Synopsis

Declared in `&lt;support&sol;allocators&sol;zeroafterfree&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
deallocate(
    byte* p,
    std::size&lowbar;t n);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Pointer to the storage being deallocated&period;
| *n*
| Number of objects of type T that the storage held&period;
|===


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