From: Peter Howkins Date: Fri, 10 Aug 2018 23:57:11 +0000 (+0100) Subject: libDtHelp: Cov 88119 X-Git-Tag: 2.3.0a~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2b2a1225da4a31b75ff379b7fcf8126089aef3ed;p=oweals%2Fcde.git libDtHelp: Cov 88119 --- diff --git a/cde/lib/DtHelp/AccessSDL.c b/cde/lib/DtHelp/AccessSDL.c index 716f88f3..8d6d470f 100644 --- a/cde/lib/DtHelp/AccessSDL.c +++ b/cde/lib/DtHelp/AccessSDL.c @@ -415,7 +415,10 @@ AsciiKeyword ( (wchar_t *) _DtCvStringOfStringSeg(p_list), newLen + 1); if ((size_t) -1 == newLen) + { + free(goodStr); return NULL; + } len += newLen; }