[xiph-commits] r9730 - icecast/trunk/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Thu Aug 11 15:56:55 PDT 2005


Author: karl
Date: 2005-08-11 15:56:51 -0700 (Thu, 11 Aug 2005)
New Revision: 9730

Modified:
   icecast/trunk/icecast/src/auth.c
   icecast/trunk/icecast/src/cfgfile.c
   icecast/trunk/icecast/src/main.c
Log:
a few fixes needed after some testing on win32


Modified: icecast/trunk/icecast/src/auth.c
===================================================================
--- icecast/trunk/icecast/src/auth.c	2005-08-11 20:31:13 UTC (rev 9729)
+++ icecast/trunk/icecast/src/auth.c	2005-08-11 22:56:51 UTC (rev 9730)
@@ -114,7 +114,7 @@
 
     if (authenticator->free)
         authenticator->free (authenticator);
-    free (authenticator->type);
+    xmlFree (authenticator->type);
     free (authenticator);
 }
 

Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c	2005-08-11 20:31:13 UTC (rev 9729)
+++ icecast/trunk/icecast/src/cfgfile.c	2005-08-11 22:56:51 UTC (rev 9730)
@@ -211,6 +211,7 @@
             option = nextopt;
         }
 
+        auth_release (mount->auth);
         free(mount);
         mount = nextmount;
     }

Modified: icecast/trunk/icecast/src/main.c
===================================================================
--- icecast/trunk/icecast/src/main.c	2005-08-11 20:31:13 UTC (rev 9729)
+++ icecast/trunk/icecast/src/main.c	2005-08-11 22:56:51 UTC (rev 9730)
@@ -108,18 +108,19 @@
     xslt_shutdown();
     refbuf_shutdown();
     slave_shutdown();
+    auth_shutdown();
     yp_shutdown();
     stats_shutdown();
 
-    /* Now that these are done, we can stop the loggers. */
-    _stop_logging();
-
     global_shutdown();
     connection_shutdown();
     config_shutdown();
     resolver_shutdown();
     sock_shutdown();
     thread_shutdown();
+
+    /* Now that these are done, we can stop the loggers. */
+    _stop_logging();
     log_shutdown();
 
     xmlCleanupParser();



More information about the commits mailing list