Merge pull request #304 in FS/freeswitch from ~ANDEE/freeswitch:bugfix/FS-7734-mod_nibblebill-doesn-t-release-mutex to master

* commit '5c7f0bc010a42386a3e5a9c9be3d144e37e58934':
  FS-7734 fixed mutex lock that should be an unlock
This commit is contained in:
Mike Jerris 2015-06-29 11:10:30 -05:00
commit 813290aa88
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ static switch_status_t do_billing(switch_core_session_t *session)
}
if (nibble_data && nibble_data->final_bill_done) {
switch_mutex_lock(globals.mutex);
switch_mutex_unlock(globals.mutex);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Received heartbeat, but final bill has been committed - ignoring\n");
return SWITCH_STATUS_SUCCESS;
}