From: Andrew Thompson Date: Wed, 29 Jul 2009 23:18:38 +0000 (+0000) Subject: Delete subclass reservations on unload X-Git-Tag: v1.0.4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d859b0f494a3f6a868a73ac5202987f930c90b5;p=thirdparty%2Ffreeswitch.git Delete subclass reservations on unload git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14429 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c index 0fdedf64cb..415034a97f 100644 --- a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c +++ b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c @@ -478,6 +478,8 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_event_multicast_shutdown) switch_event_unbind(&globals.node); switch_event_free_subclass(MULTICAST_EVENT); + switch_event_free_subclass(MULTICAST_PEERUP); + switch_event_free_subclass(MULTICAST_PEERDOWN); switch_core_hash_destroy(&globals.event_hash);