diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/menu/mnumgr.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx index b085e37740c5..c4e0ee26e092 100644 --- a/sfx2/source/menu/mnumgr.cxx +++ b/sfx2/source/menu/mnumgr.cxx @@ -167,6 +167,7 @@ PopupMenu* InsertThesaurusSubmenu_Impl( SfxBindings* pBindings, Menu* pSVMenu ) aThesLookUpStr = pStrItem->GetValue(); nDelimPos = aThesLookUpStr.SearchBackward( '#' ); } + delete pItem; if (aThesLookUpStr.Len() > 0 && nDelimPos != STRING_NOTFOUND) { // get synonym list for sub menu |