mod_limit: close odbc handle
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12632 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
293bf48518
commit
8ed510458f
|
@ -1106,6 +1106,13 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_limit_load)
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue