nsgmls: Coverity 174600

This commit is contained in:
Peter Howkins
2018-07-03 18:13:13 +01:00
parent 56abbf15be
commit 62a09f6df5

View File

@@ -223,6 +223,7 @@ void Parser::doInit()
if (!setStandardSyntax(*syntaxp, refSyntax, sd().docCharset(), if (!setStandardSyntax(*syntaxp, refSyntax, sd().docCharset(),
switcher)) { switcher)) {
giveUp(); giveUp();
delete syntaxp;
return; return;
} }
syntaxp->implySgmlChar(sd().docCharset()); syntaxp->implySgmlChar(sd().docCharset());