fix xf_gdi_bitmap_update() memory leak

This commit is contained in:
Anthony Tong 2011-10-15 11:32:12 -05:00
parent aa76b60a20
commit 0f69c586da

View File

@ -308,6 +308,9 @@ void xf_gdi_bitmap_update(rdpUpdate* update, BITMAP_UPDATE* bitmap)
XPutImage(xfi->display, xfi->primary, xfi->gc, image, 0, 0, x, y, w, h);
XFree(image);
xfree(data);
if (xfi->remote_app != True)
XCopyArea(xfi->display, xfi->primary, xfi->drawable, xfi->gc, x, y, w, h, x, y);