From 1adbfe921bfc5f0a011bf3f0007ffbb9e67f9379 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 4 Jun 2012 11:00:10 +0200 Subject: [PATCH] winex11: Don't free a variable that is no longer allocated on the heap. --- dlls/winex11.drv/window.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 720a49cddac..29317aa8f50 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -847,7 +847,6 @@ static unsigned long *get_bitmap_argb( HDC hdc, HBITMAP color, HBITMAP mask, uns if (!((mask_bits[i * width_bytes + j / 8] << (j % 8)) & 0x80)) *ptr |= 0xff000000; HeapFree( GetProcessHeap(), 0, mask_bits ); } - HeapFree( GetProcessHeap(), 0, info ); /* convert to array of longs */ if (bits && sizeof(long) > sizeof(int))