[PATCH 1/5] winex11.drv: Remove a spurious HeapFree.

Matteo Bruni mbruni at codeweavers.com
Mon Jun 4 10:58:20 CDT 2012


---
 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))
-- 
1.7.3.4




More information about the wine-patches mailing list