Boost logo

Boost :

Subject: Re: [boost] regex iterator memory leak
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-07-18 03:25:13

> I am using the example code of regex iterator in
> , in a linux machine with default boost config which means NON RECURSIVE,
> and 4096 block size , I run the example with mtrace , setting it at
> first line of main method and doing muntrace right before return 0, I see
> that 4096 bytes get lost based on mtrace logs.

The memory is cached and freed at program exit - your check for leaks is
too soon.


Boost list run by bdawes at, gregod at, cpdaniel at, john at