Subject: [Boost-bugs] [Boost C++ Libraries] #5856: memory leak occurs in regex::assign()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-02 09:34:40
#5856: memory leak occurs in regex::assign()
----------------------------------+-----------------------------------------
Reporter: crash204@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
Version: Boost 1.46.1 | Severity: Problem
Keywords: memory leak |
----------------------------------+-----------------------------------------
I am having a windows console app that dynamically links to the regex lib.
On application shutdown the memory leak detection kicks in and diagnoses
leaks in the regex dll.
My project structure is
RegWrapper.dll -> MTd
MyApp.exe -> MTd
If I change my dll compiler option from MTd to MDd then It works fine(no
leak).
My leak point is,
boost::regex r;
r.assign("ABC"); <-- detection
Any ideas?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5856> 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