- It is safe to call free() with a null pointer.
This commit is contained in:
Paul Beckingham 2014-08-07 07:50:27 -04:00
parent 0825ce3c56
commit 2ea9b8786e

View file

@ -375,8 +375,8 @@ int Hooks::execute (
output += line;
}
if (line)
free (line);
line = NULL;
fclose (poutf);
close (pout[0]);