in the case that a system error occurs the dbus method for returning the
session name can fail, leading to a null return
CID 1327399
dbus = eldbus_connection_unique_name_get(conn);
if (systray_ctx_get()->config->items)
eina_hash_free_cb_set(systray_ctx_get()->config->items, (Eina_Free_Cb)systray_notifier_item_hash_del);
- if (systray_ctx_get()->config->dbus && systray_ctx_get()->config->items)
+ if (dbus && systray_ctx_get()->config->dbus && systray_ctx_get()->config->items)
{
if (!strcmp(systray_ctx_get()->config->dbus, dbus))
{