[PATCH 06/17] Free more struped prefs

Anton Lundin glance at acc.umu.se
Wed Dec 17 23:47:47 PST 2014


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

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 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



More information about the subsurface mailing list