Module: wine Branch: master Commit: 1adbfe921bfc5f0a011bf3f0007ffbb9e67f9379 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1adbfe921bfc5f0a011bf3f000...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jun 4 11:00:10 2012 +0200
winex11: Don't free a variable that is no longer allocated on the heap.
---
dlls/winex11.drv/window.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 720a49c..29317aa 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))