changeset 108 | ca9a0fc2f082 |
parent 102 | deec7e509f66 |
--- a/cryptomgmtlibs/securitytestfw/test/testhandler2/tScriptSetup.cpp Wed Oct 06 11:09:48 2010 +0530 +++ b/cryptomgmtlibs/securitytestfw/test/testhandler2/tScriptSetup.cpp Sat Oct 30 16:29:23 2010 +0530 @@ -182,10 +182,6 @@ User::LeaveIfError(aTestSpec.AddNextTest(newAction)); CleanupStack::Pop(newAction); - if(iniFile) - { - CleanupStack::PopAndDestroy(1); - } } } @@ -198,6 +194,7 @@ if (aUseCommandLine) { iScriptPath = GetArgument(); + if(iScriptPath->Length()==0) { delete iScriptPath;