Hooks
- It is safe to call free() with a null pointer.
This commit is contained in:
@@ -375,8 +375,8 @@ int Hooks::execute (
|
|||||||
output += line;
|
output += line;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (line)
|
free (line);
|
||||||
free (line);
|
line = NULL;
|
||||||
fclose (poutf);
|
fclose (poutf);
|
||||||
close (pout[0]);
|
close (pout[0]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user