summaryrefslogtreecommitdiff
path: root/vcl/source/app/svmain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r--vcl/source/app/svmain.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 26631ec32833..cf9704f3796b 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -419,11 +419,7 @@ void DeInitVCL()
Scheduler::ImplDeInitScheduler();
- if ( pSVData->maWinData.mpMsgBoxImgList )
- {
- delete pSVData->maWinData.mpMsgBoxImgList;
- pSVData->maWinData.mpMsgBoxImgList = nullptr;
- }
+ pSVData->maWinData.maMsgBoxImgList.clear();
if ( pSVData->maCtrlData.mpCheckImgList )
{
delete pSVData->maCtrlData.mpCheckImgList;