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 88109

This commit is contained in:
Peter Howkins 2018-08-11 00:55:03 +01:00
parent 258a7e3803
commit 30809197c7

View file

@ -1868,7 +1868,10 @@ _DtHelpDAResolveSpc (
(sizeof(DtHelpSpecialChars)*pDAS->max_spc));
if (pDAS->spc_chars == NULL)
{
free(pReg);
return -1;
}
for (i = pDAS->cur_spc; i < pDAS->max_spc; i++)
pDAS->spc_chars[i].spc_idx = -1;