diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 86dad89e470..febd1e3fde1 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -763,6 +763,7 @@ static Cursor create_cursor( Display *display, CURSORICONINFO *ptr ) pixmapBits = XCreateBitmapFromData( display, root_window, (char *)pXorBits, xmax, ymax ); if (!pixmapBits) { + HeapFree( GetProcessHeap(), 0, bitMask32 ); XFreePixmap( display, pixmapAll ); XFreeGC( display, gc ); image->data = NULL;