discomfitor pushed a commit to branch enlightenment-0.19.

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

commit b006832d386b0cd58d20478a2906473014b983b7
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Sep 29 13:03:35 2015 -0400

    free x11 damage region rects
---
 src/bin/e_comp_x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 9a376e4..a076216 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2716,6 +2716,7 @@ _e_comp_x_damage(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_Dam
         for (i = 0; i < n; i++)
           e_comp_object_damage(ec->frame, rects[i].x, rects[i].y, 
rects[i].width, rects[i].height);
      }
+   free(rects);
    if ((!ec->re_manage) && (!ec->override) && (!ec->comp_data->first_damage))
      e_comp_object_render_update_del(ec->frame);
    else

-- 


Reply via email to