summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-12-18 08:47:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-18 08:34:00 -0800
commit964beb2621fa17a56caa3b34c5c5ef96113ea441 (patch)
tree9f2d41c391c808f39ab79ef037e4c8939ff7e814 /main.cpp
parent0bdd8f41e0b217c6f0a3723dd756e96c93b3f5c6 (diff)
downloadsubsurface-964beb2621fa17a56caa3b34c5c5ef96113ea441.tar.gz
Free global tags list on exit.
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 3989cc927..295b9bd44 100644
--- a/main.cpp
+++ b/main.cpp
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <time.h>
+#include "dive.h"
#include "qt-gui.h"
#include "subsurfacestartup.h"
#include "qt-ui/mainwindow.h"
@@ -66,6 +67,7 @@ int main(int argc, char **argv)
if (!quit)
run_ui();
exit_ui();
+ taglist_free(g_tag_list);
parse_xml_exit();
subsurface_console_exit();
free_prefs();