Kaydet (Commit) 1544c17f authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#705626 and coverity#705627: fix memory leak

Change-Id: I68f43d07798ccb3fc3a5ab438992ac74f4cd262a
üst ca4e453d
......@@ -303,6 +303,7 @@ SbiExprNode* SbiExpression::Term( const KeywordSymbolInfo* pKeywordSymbolInfo )
SbiConstDef* pConst = pDef->GetConstDef();
if( pConst )
{
delete pPar;
if( pConst->GetType() == SbxSTRING )
{
return new SbiExprNode( pParser, pConst->GetString() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment