These ones are strduped prefs, but not stored in the prefs structure.

Signed-off-by: Anton Lundin <[email protected]>
---
 qt-gui.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/qt-gui.cpp b/qt-gui.cpp
index 2f3e66b..70aef18 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -189,6 +189,8 @@ void exit_ui(void)
        delete window;
        delete application;
        free((void *)existing_filename);
+       free((void *)default_dive_computer_vendor);
+       free((void *)default_dive_computer_product);
        free((void *)default_dive_computer_device);
 }
 
-- 
2.1.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to