summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
Diffstat (limited to 'automation')
-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;
}