[#BloombergLP-bdlma-BufferedSequentialAllocator-release]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/BufferedSequentialAllocator.adoc[BufferedSequentialAllocator]::release
:relfileprefix: ../../../
:mrdocs:

Release all memory allocated through this allocator and return to the underlying allocator _all_ memory except the external buffer supplied at construction&period; The allocator is reset to its default&hyphen;constructed state, making the memory from the entire external buffer supplied at construction available for subsequent allocations, retaining the alignment and growth strategies, and the initial and maximum buffer sizes in effect following construction&period; The effect of subsequently &hyphen; to this invokation of `release` &hyphen; using a pointer obtained from this object prior to this call to `release` is undefined&period;

== Synopsis

Declared in `&lt;bdlma&lowbar;bufferedsequentialallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
release() override;
----


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