Fixed XPixmap checks.

This commit is contained in:
Armin Novak 2018-04-04 10:46:14 +02:00
parent 065a924496
commit c70bf8329f

View File

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