libDtHelp: Cov 88240

This commit is contained in:
Peter Howkins 2018-08-11 01:03:23 +01:00
parent a97c7370a5
commit f74bf1a29f
1 changed files with 4 additions and 0 deletions

View File

@ -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.