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
This commit is contained in:
kabeer khan 2014-12-09 09:22:41 -05:00 committed by Chris Michael
parent 75b77c4722
commit 25db7de813
1 changed files with 1 additions and 0 deletions

View File

@ -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;