Commit 1adbfe92 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't free a variable that is no longer allocated on the heap.

parent c296d1fb
......@@ -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))
......
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