diff options
-rw-r--r-- | win32/PlatWin.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index a97012e6f..53b889896 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -3258,6 +3258,15 @@ void Platform_Finalise() { customClearTypeRenderingParams->Release(); customClearTypeRenderingParams = 0; } + if (pIDWriteFactory) { + pIDWriteFactory->Release(); + pIDWriteFactory = 0; + } + if (pD2DFactory) { + pD2DFactory->Release(); + pD2DFactory = 0; + } + #endif if (reverseArrowCursor != NULL) ::DestroyCursor(reverseArrowCursor); |