http://bugs.winehq.org/show_bug.cgi?id=30826
--- Comment #9 from Dan Kegel dank@kegel.com 2012-06-02 21:42:55 CDT --- Looks like get_bitmap_argb() tries to free something that wasn't allocated on the heap. This patch gets rid of one valgrind error, but doesn't solve the crash:
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 720a49c..e980b08 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -847,7 +847,7 @@ 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 ); + //HeapFree( GetProcessHeap(), 0, info );