From 6acad9508d7317bad17b0dc598d633ef1bd4df7e Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 16 Oct 2014 11:38:39 -0400 Subject: [PATCH] cleanup any pending opaque regions when we delete the client Signed-off-by: Chris Michael --- src/bin/e_comp_wl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 0481e9fea..8c32e6a15 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -728,6 +728,9 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec) ec->parent->modal = NULL; } + if (ec->comp_data->pending.opaque) + eina_tiler_free(ec->comp_data->pending.opaque); + EINA_LIST_FREE(ec->comp_data->pending.damage, dmg) eina_rectangle_free(dmg);