mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
libDtHelp: Cov 88240
This commit is contained in:
parent
a97c7370a5
commit
f74bf1a29f
1 changed files with 4 additions and 0 deletions
|
@ -684,7 +684,11 @@ AllocateSegments (
|
||||||
priv = (FrmtPrivateInfo *) realloc ((void *) priv,
|
priv = (FrmtPrivateInfo *) realloc ((void *) priv,
|
||||||
sizeof(FrmtPrivateInfo) * new_size);
|
sizeof(FrmtPrivateInfo) * new_size);
|
||||||
if (NULL == priv)
|
if (NULL == priv)
|
||||||
|
{
|
||||||
|
free(p_seg);
|
||||||
|
p_seg = NULL;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* reattach the private information with their segments.
|
* reattach the private information with their segments.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue