From: Michael Jerris Date: Wed, 23 Sep 2015 21:40:13 +0000 (-0500) Subject: FS-8190: fix build regression from original FS-8190 commit X-Git-Tag: v1.6.2~1^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c167eb7d5dfe581188b9b3bb79da29af27b6b363;p=thirdparty%2Ffreeswitch.git FS-8190: fix build regression from original FS-8190 commit --- diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index 60224cd9db..11828ce328 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -5273,10 +5273,11 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_rayo_load) * Shutdown module. Notifies threads to stop. */ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_rayo_shutdown) -{ +{ + switch_status_t result; + switch_event_free_subclass("rayo::cpa"); - - switch_status_t result = do_shutdown(); + result = do_shutdown(); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Module shutdown\n"); return result; }