Index: core/src/fxge/win32/fx_win32_device.cpp |
diff --git a/core/src/fxge/win32/fx_win32_device.cpp b/core/src/fxge/win32/fx_win32_device.cpp |
index 899adf5b7cfca2d371ecf925b830a3b806abbbad..b0dbc14ebc08a126e0a32788e80416f5bb534533 100644 |
--- a/core/src/fxge/win32/fx_win32_device.cpp |
+++ b/core/src/fxge/win32/fx_win32_device.cpp |
@@ -410,9 +410,7 @@ void CFX_GEModule::InitPlatform() |
} |
void CFX_GEModule::DestroyPlatform() |
{ |
- if (m_pPlatformData) { |
- delete (CWin32Platform*)m_pPlatformData; |
- } |
+ delete (CWin32Platform*)m_pPlatformData; |
m_pPlatformData = NULL; |
} |
CGdiDeviceDriver::CGdiDeviceDriver(HDC hDC, int device_class) |