From: Rupa Schomaker Date: Thu, 12 Feb 2009 15:05:37 +0000 (+0000) Subject: destroy the hash BEFORE freeing the pool X-Git-Tag: v1.0.3~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90691a7e7674ea3fe4e968684cca42328b9fe621;p=thirdparty%2Ffreeswitch.git destroy the hash BEFORE freeing the pool git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11925 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c index 9375d3bf71..44e700f1b7 100644 --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -1008,8 +1008,8 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_lcr_shutdown) { switch_odbc_handle_disconnect(globals.master_odbc); switch_odbc_handle_destroy(&globals.master_odbc); - switch_core_destroy_memory_pool(&globals.pool); switch_core_hash_destroy(&globals.profile_hash); + switch_core_destroy_memory_pool(&globals.pool); return SWITCH_STATUS_SUCCESS; }