Memory leaks, from David CARLIER.

This commit is contained in:
nicm
2017-04-22 06:13:30 +00:00
parent c8ecbf38ab
commit 2c9bdd9e32
5 changed files with 26 additions and 14 deletions

View File

@ -127,6 +127,7 @@ error:
free(pdata);
if (f != NULL)
fclose(f);
free(file);
return (CMD_RETURN_ERROR);
}