summaryrefslogtreecommitdiff
path: root/automation/source/testtool/objtest.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-16 12:02:52 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-16 15:38:38 +0200
commit576646a15c9ca5cd2dd5a98f6dd1db7d9c7704d8 (patch)
treec1d0dd719c2a6a28da1ae09c94b45efb3e647480 /automation/source/testtool/objtest.cxx
parentca4d30985c24ee960e9104be8e7f137627b043b0 (diff)
delete after use
Diffstat (limited to 'automation/source/testtool/objtest.cxx')
-rw-r--r--automation/source/testtool/objtest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index 521af9a39524..b978c201a5e5 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;
}