From 964beb2621fa17a56caa3b34c5c5ef96113ea441 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 18 Dec 2014 08:47:55 +0100 Subject: [PATCH] Free global tags list on exit. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 3989cc927..295b9bd44 100644 --- a/main.cpp +++ b/main.cpp @@ -5,6 +5,7 @@ #include #include +#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();