[Freeswitch-svn] [commit] r11925 - freeswitch/trunk/src/mod/applications/mod_lcr
FreeSWITCH SVN
rupa at freeswitch.org
Thu Feb 12 07:05:37 PST 2009
Author: rupa
Date: Thu Feb 12 09:05:37 2009
New Revision: 11925
Log:
destroy the hash BEFORE freeing the pool
Modified:
freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c
Modified: freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c Thu Feb 12 09:05:37 2009
@@ -1008,8 +1008,8 @@
{
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;
}
More information about the Freeswitch-svn
mailing list