[Libreoffice-commits] .: automation/source

David Tardon dtardon at kemper.freedesktop.org
Mon May 16 06:43:59 PDT 2011


 automation/source/testtool/objtest.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3af57404e99b5438941a4d6bdf40feea4f0ca2a1
Author: David Tardon <dtardon at redhat.com>
Date:   Mon May 16 12:02:52 2011 +0200

    delete after use

diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index fbbdf1c..44a8604 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -2760,6 +2760,8 @@ SbxVariable* TestToolObj::Find( const String& aStr, SbxClassType aType)
         {
             ADD_ERROR(SbxERR_PROC_UNDEFINED,GEN_RES_STR1(S_UNKNOWN_SLOT_CONTROL, aStr) );
         }
+
+        delete pWhatName;
     }
     return NULL;
 }


More information about the Libreoffice-commits mailing list