[#BloombergLP-bdlcc-ObjectPool-releaseObject] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPool.adoc[ObjectPool]::releaseObject :relfileprefix: ../../../ :mrdocs: Return the specified `object` back to this object pool. Invoke the RESETTER specified at construction, or the default RESETTER if none was provided, before making the object available for reuse. Note that if RESETTER is the default type (`ObjectPoolFunctors::Nil`), then this method should be invoked to return only _valid_ objects because the pool uses the released objects to satisfy further `getObject` requests. The behavior is undefined unless the `object` was obtained from this object pool's `getObject` method and is not already in a released state. == Synopsis Declared in `<bdlcc_objectpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void releaseObject(TYPE* object); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#