summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Lehner <cel@celehner.com>2015-09-20 03:04:01 -0400
committerCharles Lehner <cel@celehner.com>2015-09-20 03:04:01 -0400
commitf6580a4c7a0c01153df720bfd3ad5396ffb646ba (patch)
tree79f435ac4565df333921b4bdf4ec5d2a6611ba0e
parentaf7051ee3e5d06fec09e3aea2968241a8c7dd2e1 (diff)
gtk: clean up more things on module unload
-rw-r--r--modules/gtk/gtk_mod.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/gtk/gtk_mod.c b/modules/gtk/gtk_mod.c
index 11d1fae..ee9e1a2 100644
--- a/modules/gtk/gtk_mod.c
+++ b/modules/gtk/gtk_mod.c
@@ -987,6 +987,15 @@ static int module_close(void)
aufilt_unregister(&vumeter);
message_close();
+#ifdef USE_LIBNOTIFY
+ if (notify_is_initted())
+ notify_uninit();
+#endif
+
+ g_slist_free(mod_obj.accounts_menu_group);
+ g_slist_free(mod_obj.call_windows);
+ g_slist_free(mod_obj.incoming_call_menus);
+
return 0;
}