On Sun, Jul 06, 2014 at 08:28:51AM -0700, Dirk Hohndel wrote: > Valgrind shows me an issue with this sequence. > Specifically, we try to copy the samples of our dive as we start to edit > it (loadFromDive()) and then find out that those samples had been freed > the last time we started editing that dive. > > I'm trying to track this down...
And a few minutes of looking at the code, adding one printf and spending ten minutes trying to figure out why it was never called... bingo. I did not copy the events / samples for the first DC (the one that's part of the struct dive). Just pushed the fix. /D _______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
