diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 14:59:26 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 19:17:53 -0700 |
commit | 30566135aa8b9fa75b071a2b23927db33aea63b5 (patch) | |
tree | ae5bc335ed867e80f39723f4e2bd55b8f8ef7e34 /Readme.testing | |
parent | 0b47757f2ac93ea39b622c3553fd7a06d13f8e29 (diff) | |
download | subsurface-30566135aa8b9fa75b071a2b23927db33aea63b5.tar.gz |
Cleanup: clean up resource handling in ostctools.c
Free resources allocated by alloc_dive() with free_dive().
Don't allocate and re-allocate a fixed two byte buffer on the heap.
Indirectly this fixes CID 216616
Suggested-by; Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Readme.testing')
0 files changed, 0 insertions, 0 deletions