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:
3080919
)
libDtHelp: Cov 88119
author
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:57:11 +0000
(
00:57
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:57:11 +0000
(
00:57
+0100)
cde/lib/DtHelp/AccessSDL.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/AccessSDL.c
b/cde/lib/DtHelp/AccessSDL.c
index 716f88f307d2b28703333324aaae6def0798d42e..8d6d470fc03ab9b25edbd93ced283e39adb26376 100644
(file)
--- 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;
}