Commit 5732ec21 authored by Karl Heyes's avatar Karl Heyes
Browse files

a few fixes needed after some testing on win32

svn path=/icecast/trunk/icecast/; revision=9730
parent afae729c
...@@ -114,7 +114,7 @@ void auth_release (auth_t *authenticator) ...@@ -114,7 +114,7 @@ void auth_release (auth_t *authenticator)
if (authenticator->free) if (authenticator->free)
authenticator->free (authenticator); authenticator->free (authenticator);
free (authenticator->type); xmlFree (authenticator->type);
free (authenticator); free (authenticator);
} }
......
...@@ -211,6 +211,7 @@ void config_clear(ice_config_t *c) ...@@ -211,6 +211,7 @@ void config_clear(ice_config_t *c)
option = nextopt; option = nextopt;
} }
auth_release (mount->auth);
free(mount); free(mount);
mount = nextmount; mount = nextmount;
} }
......
...@@ -108,18 +108,19 @@ static void _shutdown_subsystems(void) ...@@ -108,18 +108,19 @@ static void _shutdown_subsystems(void)
xslt_shutdown(); xslt_shutdown();
refbuf_shutdown(); refbuf_shutdown();
slave_shutdown(); slave_shutdown();
auth_shutdown();
yp_shutdown(); yp_shutdown();
stats_shutdown(); stats_shutdown();
/* Now that these are done, we can stop the loggers. */
_stop_logging();
global_shutdown(); global_shutdown();
connection_shutdown(); connection_shutdown();
config_shutdown(); config_shutdown();
resolver_shutdown(); resolver_shutdown();
sock_shutdown(); sock_shutdown();
thread_shutdown(); thread_shutdown();
/* Now that these are done, we can stop the loggers. */
_stop_logging();
log_shutdown(); log_shutdown();
xmlCleanupParser(); xmlCleanupParser();
......
Markdown is supported
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