clean up some systray leaks
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 26 Oct 2015 17:11:32 +0000 (13:11 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 26 Oct 2015 17:11:32 +0000 (13:11 -0400)
src/modules/systray/e_mod_notifier_watcher.c

index d3c25fa..8e8308c 100644 (file)
@@ -242,4 +242,6 @@ systray_notifier_dbus_watcher_stop(void)
    if (host_service)
      eina_stringshare_del(host_service);
    conn = NULL;
+   E_FREE_FUNC(systray_ctx_get()->config->items, eina_hash_free);
+   eina_stringshare_replace(&systray_ctx_get()->config->dbus, NULL);
 }