Commit 87029992 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: memory leak now freeing null_device and global source_password

parent d3bba363
......@@ -421,6 +421,7 @@ void config_clear(ice_config_t *c)
if (c->log_dir) xmlFree(c->log_dir);
if (c->webroot_dir) xmlFree(c->webroot_dir);
if (c->adminroot_dir) xmlFree(c->adminroot_dir);
if (c->null_device) xmlFree(c->null_device);
if (c->cert_file) xmlFree(c->cert_file);
if (c->cipher_list) xmlFree(c->cipher_list);
if (c->pidfile)
......@@ -821,6 +822,7 @@ static void _parse_root(xmlDocPtr doc, xmlNodePtr node,
} else {
ICECAST_LOG_ERROR("Can not find nor create default mount but global lagency source password set. Bad.");
/* drop the first listening socket details if more than one is defined, as we only
Supports Markdown
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