Boost C++ Libraries: Ticket #10024: allocator memory leak https://svn.boost.org/trac10/ticket/10024 <p> hi~ boost allocaltor memory leak bug. </p> <p> stl + boost allocator </p> <p> check crtdbg.h </p> <p> sample code. </p> <pre class="wiki">#include "stdafx.h" #include &lt;string&gt; #include &lt;vector&gt; #include &lt;boost/pool/pool_alloc.hpp&gt; #include &lt;crtdbg.h&gt; int main() { _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); typedef std::vector&lt;int, boost::pool_allocator&lt;int&gt;&gt; Ints; Ints i; i.push_back(10); return 0; } </pre><p> that code memory leak. not call free. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10024 Trac 1.4.3 anonymous Thu, 08 May 2014 16:29:06 GMT <link>https://svn.boost.org/trac10/ticket/10024#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10024#comment:1</guid> <description> <p> use boost ver 1.55 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 08 May 2014 16:31:57 GMT</pubDate> <title>version changed https://svn.boost.org/trac10/ticket/10024#comment:2 https://svn.boost.org/trac10/ticket/10024#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.54.0</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket viboes Sun, 18 May 2014 18:42:03 GMT description changed https://svn.boost.org/trac10/ticket/10024#comment:3 https://svn.boost.org/trac10/ticket/10024#comment:3 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/10024?action=diff&amp;version=3">diff</a>) </li> </ul> Ticket viboes Sun, 18 May 2014 18:42:27 GMT component changed; owner set https://svn.boost.org/trac10/ticket/10024#comment:4 https://svn.boost.org/trac10/ticket/10024#comment:4 <ul> <li><strong>owner</strong> set to <span class="trac-author">Chris Newbold</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">pool</span> </li> </ul> Ticket