From: Travis Cross Date: Sun, 8 Apr 2012 13:40:17 +0000 (+0000) Subject: mod_alsa: fix module reload X-Git-Tag: v1.2-rc1~17^2~281^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e89cb4532913a3fd7a4888f8c94df379775cc3;p=thirdparty%2Ffreeswitch.git mod_alsa: fix module reload --- diff --git a/src/mod/endpoints/mod_alsa/mod_alsa.c b/src/mod/endpoints/mod_alsa/mod_alsa.c index 494a5bed31..cadd560de4 100644 --- a/src/mod/endpoints/mod_alsa/mod_alsa.c +++ b/src/mod/endpoints/mod_alsa/mod_alsa.c @@ -948,6 +948,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_alsa_shutdown) } switch_core_hash_destroy(&globals.call_hash); + switch_event_free_subclass(MY_EVENT_RINGING); switch_safe_free(globals.dialplan); switch_safe_free(globals.cid_name); switch_safe_free(globals.cid_num);