mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
minor memory leak fixed
svn path=/icecast/trunk/icecast/; revision=14004
This commit is contained in:
parent
ba438dd7b5
commit
55b5b7eb80
@ -172,6 +172,7 @@ void config_clear(ice_config_t *c)
|
||||
|
||||
free(c->config_filename);
|
||||
|
||||
xmlFree (c->server_id);
|
||||
if (c->location) xmlFree(c->location);
|
||||
if (c->admin) xmlFree(c->admin);
|
||||
if (c->source_password) xmlFree(c->source_password);
|
||||
@ -188,6 +189,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->cert_file) xmlFree(c->cert_file);
|
||||
if (c->pidfile)
|
||||
xmlFree(c->pidfile);
|
||||
if (c->playlist_log) xmlFree(c->playlist_log);
|
||||
|
Loading…
Reference in New Issue
Block a user