| 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 cfcbc707cd7e290e882584fe50e3d64a02f51e49..7932305a4ffd74b6abfc1c204e2be03b7442e79a 100644
|
| --- a/core/src/fxge/dib/fx_dib_convert.cpp
|
| +++ b/core/src/fxge/dib/fx_dib_convert.cpp
|
| @@ -942,10 +942,7 @@ CFX_DIBitmap* CFX_DIBSource::CloneConvert(FXDIB_Format dest_format, const FX_REC
|
| }
|
| return pClone;
|
| }
|
| - CFX_DIBitmap* pClone = FX_NEW CFX_DIBitmap;
|
| - if (!pClone) {
|
| - return NULL;
|
| - }
|
| + CFX_DIBitmap* pClone = new CFX_DIBitmap;
|
| if(!pClone->Create(m_Width, m_Height, dest_format)) {
|
| delete pClone;
|
| return NULL;
|
|
|