mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
c2997c33c7
hdr_buffer pointer was not always allocated (just on dc dives), but was always freed. This should cause a crash while processing a manually added dive (or a dive whose dc model couldn't be stablished), but not always does, crashes only if the pointed memory hasn't been previously allocated. In most cases causes memory corruption, which goes easily unnoticed as it is correctly freed in next parse run. This means, obviously, I have some work TODO fixing leaks with valgrind. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
smartrak.c | ||
smrtk2ssrfc_window.cpp | ||
smrtk2ssrfc_window.h | ||
smrtk2ssrfc_window.ui | ||
smtk_standalone.cpp |