mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-03 15:43:09 +00:00
Free global tags list on exit.
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0bdd8f41e0
commit
964beb2621
1 changed files with 2 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -5,6 +5,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#include "dive.h"
|
||||||
#include "qt-gui.h"
|
#include "qt-gui.h"
|
||||||
#include "subsurfacestartup.h"
|
#include "subsurfacestartup.h"
|
||||||
#include "qt-ui/mainwindow.h"
|
#include "qt-ui/mainwindow.h"
|
||||||
|
@ -66,6 +67,7 @@ int main(int argc, char **argv)
|
||||||
if (!quit)
|
if (!quit)
|
||||||
run_ui();
|
run_ui();
|
||||||
exit_ui();
|
exit_ui();
|
||||||
|
taglist_free(g_tag_list);
|
||||||
parse_xml_exit();
|
parse_xml_exit();
|
||||||
subsurface_console_exit();
|
subsurface_console_exit();
|
||||||
free_prefs();
|
free_prefs();
|
||||||
|
|
Loading…
Reference in a new issue