[#Arena-free]
= xref:Arena.adoc[Arena]::free
:relfileprefix: ../
:mrdocs:

Free a previously allocated chunk of memory&period; Freeing the zero pointer has no effect&period; Raises std&colon;&colon;runtime&lowbar;error in case of error&period;

== Synopsis

Declared in `&lt;support&sol;lockedpool&period;h&gt;`

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptr*
| Pointer to the chunk previously returned by alloc&period;
|===


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