[commit] r12151 - freeswitch/trunk/src/mod/applications/mod_easyroute
Author: mrene Date: Wed Feb 18 18:52:06 2009 New Revision: 12151 Log: tweak Modified: freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c Modified: freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c (original) +++ freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c Wed Feb 18 18:52:06 2009 @@ -278,10 +278,11 @@ switch_set_string(results->acctcode, ""); } + switch_safe_free(sql); #else switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "mod_easyroute requires core ODBC support. Please refer to the documentation on how to enable this\n"); #endif - switch_safe_free(sql); + if (globals.mutex){ switch_mutex_unlock(globals.mutex); }
participants (1)
-
FreeSWITCH SVN