summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-12-18 10:47:00 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-18 08:34:00 -0800
commit65a988a232da68f0cdeaf34fe7aebba16bc0c76b (patch)
tree5e207da3ff5ffe4c7df4ae0a7ab8092ee643b073 /qt-gui.cpp
parent85d3817bd211cb7310182851289f51aa79dd398c (diff)
downloadsubsurface-65a988a232da68f0cdeaf34fe7aebba16bc0c76b.tar.gz
Free more struped prefs
These ones are strduped prefs, but not stored in the prefs structure. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index 2f3e66bea..70aef1817 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);
}