[Libreoffice-commits] core.git: vcl/source

Caolán McNamara caolanm at redhat.com
Fri Jul 29 13:34:07 UTC 2016


 vcl/source/window/menuitemlist.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ee79a2dd7ea60e902cab3a9203e307b8a78fee23
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 29 14:33:22 2016 +0100

    Resolves: tdf#101169 crash using column menu in base
    
    Change-Id: Ia4ce895d3562b29db648a7b568121a2867088493

diff --git a/vcl/source/window/menuitemlist.cxx b/vcl/source/window/menuitemlist.cxx
index 954615a..44757a4 100644
--- a/vcl/source/window/menuitemlist.cxx
+++ b/vcl/source/window/menuitemlist.cxx
@@ -41,6 +41,7 @@ MenuItemData::~MenuItemData()
     }
     if( pSalMenuItem )
         ImplGetSVData()->mpDefInst->DestroyMenuItem( pSalMenuItem );
+    pSubMenu.disposeAndClear();
 }
 
 MenuItemList::~MenuItemList()


More information about the Libreoffice-commits mailing list