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:
a97c737
)
libDtHelp: Cov 88240
author
Peter Howkins
<flibble@users.sf.net>
Sat, 11 Aug 2018 00:03:23 +0000
(
01:03
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Sat, 11 Aug 2018 00:03:23 +0000
(
01:03
+0100)
cde/lib/DtHelp/FormatCCDF.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/FormatCCDF.c
b/cde/lib/DtHelp/FormatCCDF.c
index 1fb4eb8c30e681d9613c9888b628af5862f34284..c053d736e7b42709db66f6ad8404d53f2c24d581 100644
(file)
--- a/
cde/lib/DtHelp/FormatCCDF.c
+++ b/
cde/lib/DtHelp/FormatCCDF.c
@@
-684,7
+684,11
@@
AllocateSegments (
priv = (FrmtPrivateInfo *) realloc ((void *) priv,
sizeof(FrmtPrivateInfo) * new_size);
if (NULL == priv)
+ {
+ free(p_seg);
+ p_seg = NULL;
return NULL;
+ }
/*
* reattach the private information with their segments.