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

This commit is contained in:
Nikolay Sivov 2015-06-03 13:52:11 +03:00 committed by Alexandre Julliard
parent c186939f32
commit c0af3fad4e
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}