diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-29 14:33:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-29 14:33:22 +0100 |
commit | ee79a2dd7ea60e902cab3a9203e307b8a78fee23 (patch) | |
tree | 0116a349cb518de20ed8d2bf74710ead18f5d7a7 /vcl | |
parent | fa293f7d6792a2beab048461c8a067e9ca980bb8 (diff) |
Resolves: tdf#101169 crash using column menu in base
Change-Id: Ia4ce895d3562b29db648a7b568121a2867088493
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/menuitemlist.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/menuitemlist.cxx b/vcl/source/window/menuitemlist.cxx index 954615aeb82c..44757a4778ba 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() |