From: Brian West Date: Wed, 7 Dec 2016 14:41:45 +0000 (-0600) Subject: FS-9823 free subclass properly X-Git-Tag: v1.8.0~1002 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df8f7f46398f0d6989d4418fc4d93c6720bfc419;p=thirdparty%2Ffreeswitch.git FS-9823 free subclass properly --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 9e047e79bf..d380c166d5 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -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");