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;
|
||||
}
|
||||
|
||||
if (line)
|
||||
free (line);
|
||||
free (line);
|
||||
line = NULL;
|
||||
fclose (poutf);
|
||||
close (pout[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user