From: Andrew Cassidy Date: Sat, 27 Jun 2015 20:19:16 +0000 (+0100) Subject: FS-7734 fixed mutex lock that should be an unlock X-Git-Tag: v1.6.2~372^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c7f0bc010a42386a3e5a9c9be3d144e37e58934;p=thirdparty%2Ffreeswitch.git FS-7734 fixed mutex lock that should be an unlock --- diff --git a/src/mod/applications/mod_nibblebill/mod_nibblebill.c b/src/mod/applications/mod_nibblebill/mod_nibblebill.c index a06e0c8d94..f6d1b51ed9 100644 --- a/src/mod/applications/mod_nibblebill/mod_nibblebill.c +++ b/src/mod/applications/mod_nibblebill/mod_nibblebill.c @@ -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; }