devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=9faf1e57d2410e25927b2fa71a86fc875f2f02f1

commit 9faf1e57d2410e25927b2fa71a86fc875f2f02f1
Author: Chris Michael <[email protected]>
Date:   Thu Oct 16 11:37:45 2014 -0400

    cleanup any remaning damage rectangles when we delete the client
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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 

-- 


Reply via email to