Corrected arguments to VirtualFree().

This commit is contained in:
Marcus Meissner 2000-01-23 21:58:56 +00:00 committed by Alexandre Julliard
parent d1e3d8d841
commit 6fdd8ada09
1 changed files with 1 additions and 1 deletions

View File

@ -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; }