[Freeswitch-trunk] [commit] r12632 - freeswitch/trunk/src/mod/applications/mod_limit
FreeSWITCH SVN
mrene at freeswitch.org
Mon Mar 16 15:44:14 PDT 2009
Author: mrene
Date: Mon Mar 16 17:44:14 2009
New Revision: 12632
Log:
mod_limit: close odbc handle
Modified:
freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c Mon Mar 16 17:44:14 2009
@@ -1106,6 +1106,13 @@
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_limit_shutdown)
{
+
+ #ifdef SWITCH_HAVE_ODBC
+ if (globals.master_odbc) {
+ switch_odbc_handle_destroy(&globals.master_odbc);
+ }
+ #endif
+
switch_event_free_subclass(LIMIT_EVENT_USAGE);
switch_xml_config_cleanup(config_settings);
More information about the Freeswitch-trunk
mailing list