Skip to content
Snippets Groups Projects
Commit f6e4e43b authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

main: fixed memleak

parent f822a8f5
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@ int main(int argc, char **argv)
log_server_error("Failed to load configuration '%s'.\n",
config_fn);
}
free(daemon_root);
return do_cleanup(&server, config_fn, NULL);
} else {
log_server_info("Configured %d interfaces and %d zones.\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment