From 168eb0bfd324be5d0023a8a3ea7ee58f1edbcbb8 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 24 Oct 2016 21:53:07 +0200 Subject: tdf#103452: add missing xPopupMenu.disposeAndClear(); See https://bugs.documentfoundation.org/attachment.cgi?id=128226 Change-Id: If6641531b96f33b2864f69bd4195c92548fce148 Reviewed-on: https://gerrit.libreoffice.org/30234 Tested-by: Jenkins Reviewed-by: Julien Nabet --- starmath/source/edit.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'starmath/source/edit.cxx') diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index f13aaf8c6246..43fc7557e7e2 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -369,6 +369,7 @@ void SmEditWindow::Command(const CommandEvent& rCEvt) xPopupMenu->SetSelectHdl(LINK(this, SmEditWindow, MenuSelectHdl)); xPopupMenu->Execute( this, aPoint ); + xPopupMenu.disposeAndClear(); bForwardEvt = false; } else if (rCEvt.GetCommand() == CommandEventId::Wheel) -- cgit