]> git.tdb.fi Git - ext/subsurface.git/commit
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)
commitfe0eff8f1ef6f5bd73a0b89d3ac5fc334650c184
tree67aca7d132074ddf27e7ad98c64c46626c75df06
parent9d8bdee350b4193a555be0f3f7fb94a9670a4a7e
prepare_sample reallocs the dive - don't keep pointers around

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>
uemis.c