null out damage on free in _e_comp_x_hook_client_del

This commit is contained in:
Carsten Haitzler 2014-01-30 11:02:44 +09:00
parent 83397e1bde
commit b7515a0958
1 changed files with 1 additions and 0 deletions

View File

@ -4154,6 +4154,7 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client *ec)
{
eina_hash_del(damages_hash, &ec->comp_data->damage, ec);
ecore_x_damage_free(ec->comp_data->damage);
ec->comp_data->damage = 0;
}
if (ec->comp_data->reparented)
{