[#PoolResource-Deallocate]
= xref:PoolResource.adoc[PoolResource]::Deallocate
:relfileprefix: ../
:mrdocs:

Returns a block to the freelists, or deletes the block when it did not come from the chunks&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Deallocate(
    void* p,
    std::size&lowbar;t bytes,
    std::size&lowbar;t alignment) noexcept;
----

== Return Value

a block to the freelists, or deletes the block when it did not come from the chunks&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Pointer to the block being returned&period;
| *bytes*
| Size in bytes of the block being returned&period;
| *alignment*
| Alignment in bytes that was used to allocate the block&period;
|===


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