devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=25db7de813e6d68be4790e7027561bf1b7d0e99a

commit 25db7de813e6d68be4790e7027561bf1b7d0e99a
Author: kabeer khan <kabeer.k...@samsung.com>
Date:   Tue Dec 9 09:22:41 2014 -0500

    evas_xcb_outbuf: fix memory leak
    
    Summary: This fixes a leak in the xcb engine where the Outbuf_Region
    was not being freed.
    
    @fix
    
    Signed-off-by: kabeer khan <kabeer.k...@samsung.com>
    
    Reviewers: devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1750
---
 src/modules/evas/engines/software_x11/evas_xcb_outbuf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c 
b/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
index 048e7ed..f903846 100644
--- a/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
+++ b/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
@@ -295,6 +295,7 @@ evas_software_xcb_outbuf_new_region_for_update(Outbuf *buf, 
int x, int y, int w,
                   _xcbob_sync(buf->priv.x11.xcb.conn);
                   buf->priv.synced = EINA_TRUE;
                }
+             free(obr);
              return buf->priv.onebuf;
           }
         obr->x = 0;

-- 


Reply via email to