Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5856: memory leak occurs in regex::assign()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-02 12:10:56
#5856: memory leak occurs in regex::assign()
-----------------------------------+----------------------------------------
Reporter: crash204@⦠| Owner: johnmaddock
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: regex
Version: Boost 1.46.1 | Severity: Problem
Resolution: wontfix | Keywords: memory leak
-----------------------------------+----------------------------------------
Changes (by anonymous):
* status: new => closed
* resolution: => wontfix
Comment:
Boost.Regex does cache some data (mostly locale related stuff) for
performance reasons. This ''does'' get cleaned up at program exit, but
depending upon when _CrtDumpMemoryLeaks() is called the data may still be
in existance at that point giving the appearance of memory leaks.
Other tools like Visual Leak Detector, or Valgrind are smart enough not to
generate these false positives, and provide much better diagnostic info
than the MS tools which IMO are next to useless for tracking issues down.
HTH, John.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5856#comment:1> 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