Boost C++ Libraries: Ticket #7350: allocator_destructor does not destroy object https://svn.boost.org/trac10/ticket/7350 <p> allocator_destructor&lt;&gt;::operator(pointer p) does only call container::allocator_traits&lt;&gt;::deallocate() which does only free the storage. </p> <p> Solution: call container::allocator_traits&lt;&gt;::destroy() before container::allocator_traits&lt;&gt;::deallocate(). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7350 Trac 1.4.3 viboes Sun, 09 Sep 2012 12:44:23 GMT status, version, milestone changed https://svn.boost.org/trac10/ticket/7350#comment:1 https://svn.boost.org/trac10/ticket/7350#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.52.0</span> → <span class="trac-field-new">Boost 1.51.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.52.0</span> </li> </ul> <p> See patch attached to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7349" title="#7349: Bugs: packaged_task holds refence to temporary (closed: fixed)">#7349</a>. </p> <p> Committed in trunk revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/80460" title="Thread: Manage with statefull allocators and call destroy on the task ...">[80460]</a>. </p> Ticket viboes Thu, 13 Sep 2012 19:13:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7350#comment:2 https://svn.boost.org/trac10/ticket/7350#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Committed revision 80516. </p> Ticket