[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - vcl/source
Caolán McNamara
caolanm at redhat.com
Mon Feb 26 09:10:55 UTC 2018
vcl/source/app/svmain.cxx | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 907efefd052782387dd5985ee417b915ac9b9692
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Feb 24 17:17:45 2018 +0000
forcepoint #6 release virtual devices before releasing font cache
Change-Id: Iacfbe7da788235c96519ecd106d09ab534c83849
Reviewed-on: https://gerrit.libreoffice.org/50284
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
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)
{
More information about the Libreoffice-commits
mailing list