libDtHelp: Cov 88162

This commit is contained in:
Peter Howkins 2018-08-11 00:58:46 +01:00
parent 2b2a1225da
commit 1c0312de48
1 changed files with 3 additions and 0 deletions

View File

@ -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);