From: Chris Michael Date: Thu, 16 Oct 2014 15:37:45 +0000 (-0400) Subject: cleanup any remaning damage rectangles when we delete the client X-Git-Tag: upstream/0.19.99~502^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9faf1e57d2410e25927b2fa71a86fc875f2f02f1;p=platform%2Fupstream%2Fenlightenment.git cleanup any remaning damage rectangles when we delete the client Signed-off-by: Chris Michael --- diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index b6b2528..0481e9f 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -696,6 +696,7 @@ static void _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec) { uint64_t win; + Eina_Rectangle *dmg; DBG("Comp Hook Client Del"); @@ -727,9 +728,10 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec) ec->parent->modal = NULL; } - E_FREE(ec->comp_data); + EINA_LIST_FREE(ec->comp_data->pending.damage, dmg) + eina_rectangle_free(dmg); - /* TODO */ + E_FREE(ec->comp_data); } static Eina_Bool