From c0af3fad4ef02ac82e472f05048e866506aae589 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 3 Jun 2015 13:52:11 +0300 Subject: [PATCH] winex11: Remove unreachable XFreePixmap(), mask_pixmap is always NULL on failure (Coverity). --- 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 ea37dd74b61..14dc44c82ec 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -573,7 +573,6 @@ static BOOL create_icon_pixmaps( HDC hdc, const ICONINFO *icon, Pixmap *icon_ret failed: if (color_pixmap) XFreePixmap( gdi_display, color_pixmap ); - if (mask_pixmap) XFreePixmap( gdi_display, mask_pixmap ); HeapFree( GetProcessHeap(), 0, bits.ptr ); return FALSE; }