Change-Id: Ic2d9300fc5ac9e2e7a4d8c30b59f66e34cf16e1b
zone->focus = e_focus_new(policy_zone, E_FOCUS_EXT_HISTORY);
if (!zone->focus)
{
+ if (policy_zone->clients_hash) eina_hash_free(policy_zone->clients_hash);
e_object_unref(E_OBJECT(zone));
ERR("Fail to create focus object at zone %d", zone->num);
E_FREE(policy_zone);
zone->focus = e_focus_new(policy_zone, E_FOCUS_EXT_TOP_STACK);
if (!zone->focus)
{
+ if (policy_zone->clients_hash) eina_hash_free(policy_zone->clients_hash);
e_object_unref(E_OBJECT(zone));
ERR("Fail to create focus object at zone %d", zone->num);
E_FREE(policy_zone);