Index: core/src/fxge/dib/fx_dib_convert.cpp |
diff --git a/core/src/fxge/dib/fx_dib_convert.cpp b/core/src/fxge/dib/fx_dib_convert.cpp |
index 93e741158ce6fc143124c8b6fa63dd595795dba7..3884d0fc8e0ed90c4b682fa57931b0ca4bad9170 100644 |
--- a/core/src/fxge/dib/fx_dib_convert.cpp |
+++ b/core/src/fxge/dib/fx_dib_convert.cpp |
@@ -1094,9 +1094,6 @@ CFX_DIBitmap* CFX_DIBSource::CloneConvert(FXDIB_Format dest_format, |
return pClone; |
} |
CFX_DIBitmap* pClone = new CFX_DIBitmap; |
- if (!pClone) { |
- return NULL; |
- } |
if (!pClone->Create(m_Width, m_Height, dest_format)) { |
delete pClone; |
return NULL; |