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:
1c0312d
)
libDtHelp: Cov 88209
author
Peter Howkins
<flibble@users.sf.net>
Sat, 11 Aug 2018 00:01:13 +0000
(
01:01
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Sat, 11 Aug 2018 00:01:13 +0000
(
01:01
+0100)
cde/lib/DtHelp/FormatSDL.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/FormatSDL.c
b/cde/lib/DtHelp/FormatSDL.c
index 50495efb993d639a92c66420777648ee81aaef58..54bddcbdaef09a54a8914d67d46e92ba86f323df 100644
(file)
--- a/
cde/lib/DtHelp/FormatSDL.c
+++ b/
cde/lib/DtHelp/FormatSDL.c
@@
-3853,7
+3853,10
@@
ResolveSnref(
my_struct->ui_info->client_data,
interpStr, runData, &newData)
|| NULL == newData || 0 == strlen(newData))
+ {
+ free(newData);
return NULL;
+ }
/*
* set the match data for toss lookup
@@
-3876,7
+3879,10
@@
ResolveSnref(
if (0 != MySaveString(&newSeg, my_struct, newData,
my_struct->cur_link, my_struct->mb_len,
False))
+ {
+ free(newData);
return NULL;
+ }
free(newData);
}