From b9ec9f8e04efb0aa9ad03243f866ee887efec0bd Mon Sep 17 00:00:00 2001 From: Massimo Cetra Date: Wed, 14 Jan 2009 23:13:28 +0000 Subject: [PATCH] Unbind the reloadxml event on module shutdown git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11205 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_fax/mod_fax.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_fax/mod_fax.c b/src/mod/applications/mod_fax/mod_fax.c index 0b7374afa8..517c86f41a 100644 --- a/src/mod/applications/mod_fax/mod_fax.c +++ b/src/mod/applications/mod_fax/mod_fax.c @@ -808,6 +808,8 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_fax_shutdown) { switch_memory_pool_t *pool = globals.pool; + switch_event_unbind(&NODE); + switch_core_destroy_memory_pool(&pool); memset(&globals, 0, sizeof(globals));