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:
2b2a122
)
libDtHelp: Cov 88162
author
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:58:46 +0000
(
00:58
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:58:46 +0000
(
00:58
+0100)
cde/lib/DtHelp/XInterface.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/XInterface.c
b/cde/lib/DtHelp/XInterface.c
index 5c7450f7ad355a524490c9fbd5d7de9e33e12c84..4f8346c275ca79ee68f86032df7a982ec32c791e 100644
(file)
--- a/
cde/lib/DtHelp/XInterface.c
+++ b/
cde/lib/DtHelp/XInterface.c
@@
-2020,7
+2020,10
@@
_DtHelpDALoadGraphic (
{
fileName = (char *) malloc (strlen(vol_xid) + strlen (file_xid) + 2);
if (fileName == NULL)
+ {
+ free(pGS);
return -1;
+ }
strcpy(fileName, vol_xid);