winex11: Remove unreachable XFreePixmap(), mask_pixmap is always NULL on failure (Coverity).
This commit is contained in:
parent
c186939f32
commit
c0af3fad4e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue