From 90691a7e7674ea3fe4e968684cca42328b9fe621 Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Thu, 12 Feb 2009 15:05:37 +0000 Subject: [PATCH] destroy the hash BEFORE freeing the pool git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11925 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_lcr/mod_lcr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }