From 6fdd8ada09864da41cc945e250b76f6530f2e62d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 23 Jan 2000 21:58:56 +0000 Subject: [PATCH] Corrected arguments to VirtualFree(). --- graphics/x11drv/dib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/x11drv/dib.c b/graphics/x11drv/dib.c index c6a170f119a..bc6acc6570c 100644 --- a/graphics/x11drv/dib.c +++ b/graphics/x11drv/dib.c @@ -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; }