summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorPhilippe Jung <phil.jung@free.fr>2015-05-12 15:50:29 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-05-12 14:03:35 +0000
commit2bb4d6cad41765db299db45511d2554984666085 (patch)
tree271adde8f23860782a44c4ad70d8ea8d15ee8e50 /basic
parent8931abc0b9fded1ee78eca6bf28e8d2438a76add (diff)
Missing disposeAndClear in MsgBox basic function
Change-Id: Ida3d792a6f3797a6173b31b86a49b72ad7353340 Reviewed-on: https://gerrit.libreoffice.org/15717 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx1
1 files changed, 1 insertions, 0 deletions
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)