destroy the hash BEFORE freeing the pool

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11925 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Rupa Schomaker 2009-02-12 15:05:37 +00:00
parent f0c05ca83c
commit 90691a7e76

View File

@ -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;
}