[Boost-bugs] [Boost C++ Libraries] #5865: memory leak occurs in regex::assign() when wrapping regex into dll

Subject: [Boost-bugs] [Boost C++ Libraries] #5865: memory leak occurs in regex::assign() when wrapping regex into dll
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-05 08:11:06


#5865: memory leak occurs in regex::assign() when wrapping regex into dll
------------------------------------------+---------------------------------
 Reporter: greenfrog <cjynim@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: memory leak |
------------------------------------------+---------------------------------
 hi, guys.

 I have made a windows console program. This program has referred dll which
 is

 boost::regex's wrapper. And now execute this program with visual leak
 detector.

 I have saw memory leak print on Visual Studio Output Window. Memory leak
 has

 occured at regex::assign() method.

 I think about memory leak's reason. I doubt runtime-library type.

 Both exe and dll's runtime library is Multi-threaded Debug DLL. I have
 changed

 exe's runtime-library or dll's runtime-library Multi-threaded DLL. And
 execute

 this program with visual leak detector. But no detected memory leak.

 I don't know that occur this situation.

 I want your help. thx.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5865>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC