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

coverity#705627: fix memory leak

Change-Id: I4f73f77b27d2ed28a9f97757105c8a6cc5521b33
üst 1b4d6026
......@@ -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() );
......
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