vcl/source/app/svmain.cxx |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

New commits:
commit 907efefd052782387dd5985ee417b915ac9b9692
Author: Caolán McNamara <caol...@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 <c...@libreoffice.org>
    Reviewed-by: Miklos Vajna <vmik...@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)
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to