Opened 11 years ago

Closed 10 years ago

#5865 closed Bugs (worksforme)

memory leak occurs in regex::assign() when wrapping regex into dll

Reported by: greenfrog <cjynim@…> 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.

Change History (2)

comment:1 by John Maddock, 11 years ago

I'm unable to reproduce, please provide a reduced test case.

Thanks, John.

comment:2 by John Maddock, 10 years ago

Resolution: worksforme
Status: newclosed

Closed pending further information from user.

Note: See TracTickets for help on using tickets.