From 576646a15c9ca5cd2dd5a98f6dd1db7d9c7704d8 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 16 May 2011 12:02:52 +0200 Subject: delete after use --- automation/source/testtool/objtest.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'automation') 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; } -- cgit