1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

libDtHelp: Cov 88119

This commit is contained in:
Peter Howkins 2018-08-11 00:57:11 +01:00
parent 30809197c7
commit 2b2a1225da

View file

@ -415,7 +415,10 @@ AsciiKeyword (
(wchar_t *) _DtCvStringOfStringSeg(p_list), (wchar_t *) _DtCvStringOfStringSeg(p_list),
newLen + 1); newLen + 1);
if ((size_t) -1 == newLen) if ((size_t) -1 == newLen)
{
free(goodStr);
return NULL; return NULL;
}
len += newLen; len += newLen;
} }