Commit c0af3fad authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winex11: Remove unreachable XFreePixmap(), mask_pixmap is always NULL on failure (Coverity).

parent c186939f
......@@ -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;
}
......
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