From 2bb4d6cad41765db299db45511d2554984666085 Mon Sep 17 00:00:00 2001 From: Philippe Jung Date: Tue, 12 May 2015 15:50:29 +0200 Subject: Missing disposeAndClear in MsgBox basic function Change-Id: Ida3d792a6f3797a6173b31b86a49b72ad7353340 Reviewed-on: https://gerrit.libreoffice.org/15717 Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- basic/source/runtime/methods.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'basic/source/runtime/methods.cxx') diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index d05c3fa88f18..377b66c3d703 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -4649,6 +4649,7 @@ RTLFUNC(MsgBox) nMappedRet = nButtonMap[ nRet ]; } rPar.Get(0)->PutInteger( nMappedRet ); + pBox.disposeAndClear(); } RTLFUNC(SetAttr) -- cgit