[#Arena-free] = xref:Arena.adoc[Arena]::free :relfileprefix: ../ :mrdocs: Free a previously allocated chunk of memory. Freeing the zero pointer has no effect. Raises std::runtime_error in case of error. == Synopsis Declared in `<support/lockedpool.h>` [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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#