Commit 6fdd8ada authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Corrected arguments to VirtualFree().

parent d1e3d8d8
......@@ -3366,7 +3366,7 @@ HBITMAP X11DRV_DIB_CreateDIBSection(
if (section)
UnmapViewOfFile(bm.bmBits), bm.bmBits = NULL;
else
VirtualFree(bm.bmBits, MEM_RELEASE, 0L), bm.bmBits = NULL;
VirtualFree(bm.bmBits, 0L, MEM_RELEASE), bm.bmBits = NULL;
}
if (dib && dib->image) { XDestroyImage(dib->image); dib->image = NULL; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment