]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_alsa: fix module reload
authorTravis Cross <tc@traviscross.com>
Sun, 8 Apr 2012 13:40:17 +0000 (13:40 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 8 Apr 2012 13:40:17 +0000 (13:40 +0000)
src/mod/endpoints/mod_alsa/mod_alsa.c

index 494a5bed31d30f2ca6146644d53aabaab41c833f..cadd560de4f673a6bba25eb4b1482e3a51784531 100644 (file)
@@ -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);