mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 03:51:48 +00:00
CID: 1210596
This commit is contained in:
parent
17f79bc2c3
commit
a4e0929ef0
@ -286,6 +286,8 @@ static switch_status_t nibblebill_load_config(void)
|
|||||||
if (!(dbh = nibblebill_get_db_handle())) {
|
if (!(dbh = nibblebill_get_db_handle())) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot Open ODBC Database!\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot Open ODBC Database!\n");
|
||||||
switch_goto_status(SWITCH_STATUS_FALSE, done);
|
switch_goto_status(SWITCH_STATUS_FALSE, done);
|
||||||
|
} else {
|
||||||
|
switch_cache_db_release_db_handle(&dbh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user