coverity#705627: fix memory leak
Change-Id: I4f73f77b27d2ed28a9f97757105c8a6cc5521b33
This commit is contained in:
@@ -304,6 +304,7 @@ SbiExprNode* SbiExpression::Term( const KeywordSymbolInfo* pKeywordSymbolInfo )
|
||||
if( pConst )
|
||||
{
|
||||
delete pPar;
|
||||
delete pvMoreParLcl;
|
||||
if( pConst->GetType() == SbxSTRING )
|
||||
{
|
||||
return new SbiExprNode( pParser, pConst->GetString() );
|
||||
|
Reference in New Issue
Block a user