|
From: Dirk M. <dm...@gm...> - 2003-08-06 17:28:07
|
On Mit, 06 Aug 2003, Rob Kramer wrote:
>
> When valgrinding my program, I get the following 2 loss records (sorry for
> lousy wrapping):
they're not lost:
> ==3356== 79218 bytes in 350 blocks are still reachable in loss record 6 of 6
^^^^^^^^^^^^^^^
It says "still reachable" here. The STL allocator is a wrapper around new
which tries to recycle memory in order to be faster. Therefore while the
memory won't be freed, its not lost (as it is "still reachable").
--
Dirk
|