[xiph-commits] r14004 - icecast/trunk/icecast/src
karl at svn.xiph.org
karl at svn.xiph.org
Tue Oct 16 19:35:48 PDT 2007
Author: karl
Date: 2007-10-16 19:35:48 -0700 (Tue, 16 Oct 2007)
New Revision: 14004
Modified:
icecast/trunk/icecast/src/cfgfile.c
Log:
minor memory leak fixed
Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c 2007-10-16 22:01:53 UTC (rev 14003)
+++ icecast/trunk/icecast/src/cfgfile.c 2007-10-17 02:35:48 UTC (rev 14004)
@@ -172,6 +172,7 @@
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 @@
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);
More information about the commits
mailing list