forked from enlightenment/enlightenment
don't delete client objects when _e_client_hook_call returns false.
_e_client_hook_call() returns false when object refcount hit 0... ie.. it's been deleted. it's simply invalid memory access to then del the object thats already gone to 0 refcount and been deleted/freed.
This commit is contained in:
parent
b6421e7660
commit
1e50cb1dc6
|
@ -2266,7 +2266,7 @@ e_client_new(E_Comp *c, E_Pixmap *cp, int first_map, int internal)
|
|||
if (!_e_client_hook_call(E_CLIENT_HOOK_NEW_CLIENT, ec))
|
||||
{
|
||||
/* delete the above allocated object */
|
||||
e_object_del(E_OBJECT(ec));
|
||||
//e_object_del(E_OBJECT(ec));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue