Index: core/src/fxge/dib/fx_dib_engine.cpp |
diff --git a/core/src/fxge/dib/fx_dib_engine.cpp b/core/src/fxge/dib/fx_dib_engine.cpp |
index 7b08386ae26e66bfd8060c19a14c6f402e34369b..6f8621e2a56fad6ac61733af1b3245ad71160532 100644 |
--- a/core/src/fxge/dib/fx_dib_engine.cpp |
+++ b/core/src/fxge/dib/fx_dib_engine.cpp |
@@ -799,14 +799,8 @@ FX_BOOL CFX_ImageStretcher::StartQuickStretch() |
} |
size *= m_DestBPP; |
m_pScanline = FX_Alloc(FX_BYTE, (size / 8 + 3) / 4 * 4); |
- if (!m_pScanline) { |
- return FALSE; |
- } |
if (m_pSource->m_pAlphaMask) { |
m_pMaskScanline = FX_Alloc(FX_BYTE, (m_ClipRect.Width() + 3) / 4 * 4); |
- if (!m_pMaskScanline) { |
- return FALSE; |
- } |
} |
if (m_pSource->GetWidth() * m_pSource->GetHeight() < MAX_PROGRESSIVE_STRETCH_PIXELS) { |
ContinueQuickStretch(NULL); |