|
From: Jeremy F. <je...@go...> - 2003-10-22 16:30:40
|
On Wed, 2003-10-22 at 08:21, Attila wrote: > The warning message follows: > ==12826== 8 bytes in 1 blocks are still reachable in loss > record 1 of 2 > ==12826== at 0x4002965E: malloc (vg_replace_malloc.c:153) > ==12826== by 0x402E9086: __cxa_get_globals (in > /usr/lib/libstdc++.so.5.0.3) > ==12826== by 0x402E9CFD: __cxa_throw (in > /usr/lib/libstdc++.so.5.0.3) > ==12826== by 0x80490D8: main (in > /home/avangel/test/exc/a.out) > ==12826== by 0x40326A06: __libc_start_main (in > /lib/i686/libc-2.3.2.so) > ==12826== by 0x8048F9C: ??? (start.S:81) Do you mean this? This just says that the exception throw allocated some memory, and it was never freed - but it isn't lost, because there's still a pointer to it (maybe it would get recycled with another exception?). This is shown because you used --show-reachable=yes; without that, it would only show definite and possible leaks. J |