[Ns-bugs] [Bug 711] example mesh/mesh fails valgrind
code at nsnam.ece.gatech.edu
Mon Oct 12 23:35:34 PDT 2009
--- Comment #2 from Craig Dowell <craigdo at ee.washington.edu> 2009-10-13 02:35:34 EDT ---
valgrind invalid reads are apparently due to valgrind having a problem with a
particular flavor of anonymous temporary via iterator:
It doesn't like
but does like
Mac48Address address = *i;
Most memory leaks due to the old problem of trying to use stl::container.erase
to release Ptr<x> without explicit zero of the Ptr.
Still another leak left.
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs