18 Jul
2014
18 Jul
'14
7:25 a.m.
I am using the example code of regex iterator in http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/ref/reg... , 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. John.