Commit 511689b3 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix memory leak (list of config files).

parent a55ba04e
......@@ -286,6 +286,8 @@ main(int argc, char **argv)
}
}
free(config_files);
if(default_wireless_hello_interval <= 0)
default_wireless_hello_interval = 4000;
default_wireless_hello_interval = MAX(default_wireless_hello_interval, 5);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment