From 10f1b7a1aaec183defb6ae724576910494026954 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 5 Feb 2017 10:43:58 +0000 Subject: Fix up GTK+ hotlist finalisation to clean up properly --- frontends/gtk/gui.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'frontends/gtk/gui.c') diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c index c08ab0ae4..8d6b42234 100644 --- a/frontends/gtk/gui.c +++ b/frontends/gtk/gui.c @@ -449,6 +449,12 @@ static void gui_quit(void) messages_get_errorcode(res)); } + res = hotlist_fini(nsoption_charp(hotlist_path)); + if (res != NSERROR_OK) { + LOG("Error finalising hotlist: %s", + messages_get_errorcode(res)); + } + free(nsgtk_config_home); gtk_fetch_filetype_fin(); -- cgit v1.2.3