subsurface/smtk-import
Salvador Cuñat c2997c33c7 smtk-import: Fix freeing unallocated memory
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>
2017-02-25 09:19:48 -08:00
..
CMakeLists.txt SmartTrak import - Add building out of source tree 2017-01-05 13:14:01 -08:00
smartrak.c smtk-import: Fix freeing unallocated memory 2017-02-25 09:19:48 -08:00
smrtk2ssrfc_window.cpp Locate included header files 2017-01-05 13:14:17 -08:00
smrtk2ssrfc_window.h
smrtk2ssrfc_window.ui
smtk_standalone.cpp Locate included header files 2017-01-05 13:14:17 -08:00