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

Caolán McNamara caolanm at redhat.com
Fri May 1 12:56:46 PDT 2015


 uui/source/iahndl-errorhandler.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c6b5535f1c957f134d67952145b539e262f4ca0d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri May 1 20:55:09 2015 +0100

    VclPtr: error dialogs never deleted
    
    Change-Id: I43ef768c4c0a29599fd95f5653769bf1583a3d97

diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 3b12c7b..31dfe1e 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -101,6 +101,9 @@ executeErrorDialog(
     }
 
     sal_uInt16 aResult = xBox->Execute();
+
+    xBox.disposeAndClear();
+
     switch( aResult )
     {
     case RET_OK:


More information about the Libreoffice-commits mailing list