Opened 11 years ago
Closed 11 years ago
#5866 closed Bugs (duplicate)
memory leak occurs in regex::assign() when wrapping regex into dll
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | regex |
Version: | Boost 1.46.1 | Severity: | Problem |
Keywords: | memory leak | Cc: |
Description
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.