mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtHelp: Cov 88162
This commit is contained in:
parent
2b2a1225da
commit
1c0312de48
1 changed files with 3 additions and 0 deletions
|
@ -2020,7 +2020,10 @@ _DtHelpDALoadGraphic (
|
||||||
{
|
{
|
||||||
fileName = (char *) malloc (strlen(vol_xid) + strlen (file_xid) + 2);
|
fileName = (char *) malloc (strlen(vol_xid) + strlen (file_xid) + 2);
|
||||||
if (fileName == NULL)
|
if (fileName == NULL)
|
||||||
|
{
|
||||||
|
free(pGS);
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
strcpy(fileName, vol_xid);
|
strcpy(fileName, vol_xid);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue