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:
parent
258a7e3803
commit
30809197c7
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue