Boost C++ Libraries: Ticket #5865: memory leak occurs in regex::assign() when wrapping regex into dll https://svn.boost.org/trac10/ticket/5865 <p> hi, guys. </p> <p> I have made a windows console program. This program has referred dll which is </p> <p> boost::regex's wrapper. And now execute this program with visual leak detector. </p> <p> I have saw memory leak print on Visual Studio Output Window. Memory leak has </p> <p> occured at regex::assign() method. </p> <p> I think about memory leak's reason. I doubt runtime-library type. </p> <p> Both exe and dll's runtime library is Multi-threaded Debug DLL. I have changed </p> <p> exe's runtime-library or dll's runtime-library Multi-threaded DLL. And execute </p> <p> this program with visual leak detector. But no detected memory leak. </p> <p> I don't know that occur this situation. </p> <p> I want your help. thx. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5865 Trac 1.4.3 John Maddock Tue, 11 Oct 2011 11:13:20 GMT <link>https://svn.boost.org/trac10/ticket/5865#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5865#comment:1</guid> <description> <p> I'm unable to reproduce, please provide a reduced test case. </p> <p> Thanks, John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Sat, 07 Jul 2012 18:11:57 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5865#comment:2 https://svn.boost.org/trac10/ticket/5865#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> Closed pending further information from user. </p> Ticket