Fixed XPixmap checks.
This commit is contained in:
parent
065a924496
commit
c70bf8329f
@ -170,10 +170,10 @@ static void xf_Bitmap_Free(rdpContext* context, rdpBitmap* bitmap)
|
||||
|
||||
xf_lock_x11(xfc, FALSE);
|
||||
|
||||
if (xbitmap->pixmap != NULL)
|
||||
if (xbitmap->pixmap != 0)
|
||||
{
|
||||
XFreePixmap(xfc->display, xbitmap->pixmap);
|
||||
xbitmap->pixmap = NULL;
|
||||
xbitmap->pixmap = 0;
|
||||
}
|
||||
|
||||
if (xbitmap->image)
|
||||
|
Loading…
Reference in New Issue
Block a user