FS-9823 free subclass properly

This commit is contained in:
Brian West 2016-12-07 08:41:45 -06:00
parent b6df83dd10
commit df8f7f4639
1 changed files with 1 additions and 0 deletions

View File

@ -6205,6 +6205,7 @@ void mod_sofia_shutdown_cleanup() {
switch_event_free_subclass(MY_EVENT_PRE_REGISTER);
switch_event_free_subclass(MY_EVENT_REGISTER);
switch_event_free_subclass(MY_EVENT_GATEWAY_ADD);
switch_event_free_subclass(MY_EVENT_BYE_RESPONSE);
switch_console_del_complete_func("::sofia::list_profiles");
switch_console_set_complete("del sofia");