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 c3325ba7388ec20df35c63ebb2471ae7d8a98bdb..98c2a3900769043e99ec21b01e8fab68fddfd8dc 100644 |
--- a/core/src/fxge/win32/fx_win32_device.cpp |
+++ b/core/src/fxge/win32/fx_win32_device.cpp |
@@ -695,9 +695,7 @@ static HPEN _CreatePen(const CFX_GraphStateData* pGraphState, |
} |
HPEN hPen = ExtCreatePen(PenStyle, (DWORD)FXSYS_ceil(width), &lb, |
pGraphState->m_DashCount, (const DWORD*)pDash); |
- if (pDash) { |
FX_Free(pDash); |
- } |
return hPen; |
} |
static HBRUSH _CreateBrush(FX_DWORD argb) { |