CID: 1210596

This commit is contained in:
Raymond Chandler 2014-05-01 17:28:54 -04:00
parent 17f79bc2c3
commit a4e0929ef0
1 changed files with 2 additions and 0 deletions

View File

@ -286,6 +286,8 @@ static switch_status_t nibblebill_load_config(void)
if (!(dbh = nibblebill_get_db_handle())) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot Open ODBC Database!\n");
switch_goto_status(SWITCH_STATUS_FALSE, done);
} else {
switch_cache_db_release_db_handle(&dbh);
}
}