From: Massimo Cetra Date: Wed, 14 Jan 2009 23:13:28 +0000 (+0000) Subject: Unbind the reloadxml event on module shutdown X-Git-Tag: v1.0.3~732 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9ec9f8e04efb0aa9ad03243f866ee887efec0bd;p=thirdparty%2Ffreeswitch.git Unbind the reloadxml event on module shutdown git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11205 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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));