mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix NULL dereference
This commit is contained in:
parent
7f3986e787
commit
cb9be6f991
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ Config::~Config()
|
|||
/* Close configuration file */
|
||||
if (remote_file)
|
||||
afclose(remote_file);
|
||||
else if (local_file != stdin)
|
||||
else if (local_file && local_file != stdin)
|
||||
fclose(local_file);
|
||||
|
||||
if (root)
|
||||
|
|
Loading…
Add table
Reference in a new issue