[Freeswitch-svn] [commit] r13268 - freeswitch/trunk/src/mod/applications/mod_lcr
FreeSWITCH SVN
mrene at freeswitch.org
Sat May 9 09:51:12 PDT 2009
Author: mrene
Date: Sat May 9 11:51:12 2009
New Revision: 13268
Log:
mod_lcr: Add ifdefs around odbc calls in shutdown function
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 Sat May 9 11:51:12 2009
@@ -1350,8 +1350,10 @@
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_lcr_shutdown)
{
+#ifdef SWITCH_HAVE_ODBC
switch_odbc_handle_disconnect(globals.master_odbc);
switch_odbc_handle_destroy(&globals.master_odbc);
+#endif
switch_core_hash_destroy(&globals.profile_hash);
return SWITCH_STATUS_SUCCESS;
More information about the Freeswitch-svn
mailing list