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:
Carsten Haitzler 2014-03-26 15:32:53 +09:00
parent b6421e7660
commit 1e50cb1dc6
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
return NULL;