Boost C++ Libraries: Ticket #5866: memory leak occurs in regex::assign() when wrapping regex into dll https://svn.boost.org/trac10/ticket/5866 <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/5866 Trac 1.4.3 John Maddock Mon, 10 Oct 2011 08:59:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5866#comment:1 https://svn.boost.org/trac10/ticket/5866#comment:1 <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">duplicate</span> </li> </ul> Ticket