fix e_exec crash

ticket #1525


SVN revision: 76778
This commit is contained in:
Mike Blumenkrantz 2012-09-18 04:36:01 +00:00
parent 8d8f697a3f
commit c60be515e8
1 changed files with 17 additions and 14 deletions

View File

@ -103,6 +103,8 @@ e_exec(E_Zone *zone, Efreet_Desktop *desktop, const char *exec,
if ((!desktop) && (!exec)) return NULL;
if (desktop)
{
single = eina_hash_find(desktop->x, "X-Enlightenment-Single-Instance");
if (single)
{
@ -127,6 +129,7 @@ e_exec(E_Zone *zone, Efreet_Desktop *desktop, const char *exec,
}
}
}
}
launch = E_NEW(E_Exec_Launch, 1);
if (!launch) return NULL;