]> git.tdb.fi Git - ext/subsurface.git/commitdiff
prepare_sample reallocs the dive - don't keep pointers around
authorDirk Hohndel <dirk@hohndel.org>
Sun, 2 Oct 2011 17:30:02 +0000 (10:30 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Sun, 2 Oct 2011 17:38:28 +0000 (10:38 -0700)
Thanks Valgrind

This diff looks pointless at first until you see that I reference dive
again earlier in the loop and then after the end of the loop.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found