1
0
Fork 0
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:
Steffen Vogel 2019-03-31 19:58:42 +02:00
parent 7f3986e787
commit cb9be6f991

View file

@ -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)