projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
258a7e3
)
libDtHelp: Cov 88109
author
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:55:03 +0000
(
00:55
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:55:03 +0000
(
00:55
+0100)
cde/lib/DtHelp/XInterface.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/XInterface.c
b/cde/lib/DtHelp/XInterface.c
index c6dc351d057bf38e8a63222cd11f992502b0000b..5c7450f7ad355a524490c9fbd5d7de9e33e12c84 100644
(file)
--- a/
cde/lib/DtHelp/XInterface.c
+++ b/
cde/lib/DtHelp/XInterface.c
@@
-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;