diff options
-rw-r--r-- | vcl/source/app/svmain.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 2d33836aea62..8f546feb5f78 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -575,10 +575,6 @@ void DeInitVCL() } ImplDeletePrnQueueList(); - delete pSVData->maGDIData.mpScreenFontList; - pSVData->maGDIData.mpScreenFontList = nullptr; - delete pSVData->maGDIData.mpScreenFontCache; - pSVData->maGDIData.mpScreenFontCache = nullptr; Scheduler::ImplDeInitScheduler(); @@ -616,6 +612,11 @@ void DeInitVCL() pSVData->maWinData.mpAutoScrollWin = nullptr; pSVData->maWinData.mpLastWheelWindow = nullptr; + delete pSVData->maGDIData.mpScreenFontList; + pSVData->maGDIData.mpScreenFontList = nullptr; + delete pSVData->maGDIData.mpScreenFontCache; + pSVData->maGDIData.mpScreenFontCache = nullptr; + // Deinit Sal if (pSVData->mpDefInst) { |