1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

minor memory leak fixed

svn path=/icecast/trunk/icecast/; revision=14004
This commit is contained in:
Karl Heyes 2007-10-17 02:35:48 +00:00
parent ba438dd7b5
commit 55b5b7eb80

View File

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