Valgrind - exact leak location.

John Love-Jensen eljay@adobe.com
Thu Oct 26 12:38:00 GMT 2006


Hi Srivatsan,

> Isn't line 501 inside stl_vector.h?

Yes.

If you want, break into the debugger (gdb) and do a backtrace to see where
up the stack which frame and what line your routine was at.

Make sure you compile your code with -g.

--Eljay



More information about the Gcc-help mailing list