forked from enlightenment/efl
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:
parent
75b77c4722
commit
25db7de813
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue