summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorkabeer khan <kabeer.khan@samsung.com>2014-12-09 09:22:41 -0500
committerChris Michael <cp.michael@samsung.com>2014-12-09 09:23:12 -0500
commit25db7de813e6d68be4790e7027561bf1b7d0e99a (patch)
tree720195db45dcc4c24c585156faad8e5454dde1e6 /src/modules
parent75b77c4722ed8c1b19cc7e742733b1f3970397e2 (diff)
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.khan@samsung.com> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1750
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/software_x11/evas_xcb_outbuf.c1
1 files changed, 1 insertions, 0 deletions
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 048e7edd8e..f903846fef 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,
295 _xcbob_sync(buf->priv.x11.xcb.conn); 295 _xcbob_sync(buf->priv.x11.xcb.conn);
296 buf->priv.synced = EINA_TRUE; 296 buf->priv.synced = EINA_TRUE;
297 } 297 }
298 free(obr);
298 return buf->priv.onebuf; 299 return buf->priv.onebuf;
299 } 300 }
300 obr->x = 0; 301 obr->x = 0;