From 62a09f6df5ec7e84215350747d1528481b447bd2 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Tue, 3 Jul 2018 18:13:13 +0100 Subject: [PATCH] nsgmls: Coverity 174600 --- cde/programs/nsgmls/parseSd.C | 1 + 1 file changed, 1 insertion(+) diff --git a/cde/programs/nsgmls/parseSd.C b/cde/programs/nsgmls/parseSd.C index 98e925b5..4ed5c7a2 100644 --- a/cde/programs/nsgmls/parseSd.C +++ b/cde/programs/nsgmls/parseSd.C @@ -223,6 +223,7 @@ void Parser::doInit() if (!setStandardSyntax(*syntaxp, refSyntax, sd().docCharset(), switcher)) { giveUp(); + delete syntaxp; return; } syntaxp->implySgmlChar(sd().docCharset()); -- 2.25.1