[Freeswitch-svn] [commit] r12151 - freeswitch/trunk/src/mod/applications/mod_easyroute

FreeSWITCH SVN mrene at freeswitch.org
Wed Feb 18 16:52:07 PST 2009


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



More information about the Freeswitch-svn mailing list