]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Delete subclass reservations on unload
authorAndrew Thompson <andrew@hijacked.us>
Wed, 29 Jul 2009 23:18:38 +0000 (23:18 +0000)
committerAndrew Thompson <andrew@hijacked.us>
Wed, 29 Jul 2009 23:18:38 +0000 (23:18 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14429 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c

index 0fdedf64cbf5eeb52d901f9ed8d09e09034cc6e4..415034a97fca101055317f7355fe4ec2a4ad94dd 100644 (file)
@@ -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);