[Libreoffice-commits] core.git: basic/source

Philippe Jung phil.jung at free.fr
Tue May 12 07:03:56 PDT 2015


 basic/source/runtime/methods.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2bb4d6cad41765db299db45511d2554984666085
Author: Philippe Jung <phil.jung at free.fr>
Date:   Tue May 12 15:50:29 2015 +0200

    Missing disposeAndClear in MsgBox basic function
    
    Change-Id: Ida3d792a6f3797a6173b31b86a49b72ad7353340
    Reviewed-on: https://gerrit.libreoffice.org/15717
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index d05c3fa..377b66c 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)


More information about the Libreoffice-commits mailing list