From: Andrey Volk Date: Fri, 31 Jan 2025 14:54:59 +0000 (+0300) Subject: [libesl] Coverity 1024459 Missing unlock X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62ef2d48225f5a9f8d723f1fd2fdd22e6045414b;p=thirdparty%2Ffreeswitch.git [libesl] Coverity 1024459 Missing unlock --- diff --git a/libs/esl/src/esl.c b/libs/esl/src/esl.c index 9304bc5749..d796860a11 100644 --- a/libs/esl/src/esl.c +++ b/libs/esl/src/esl.c @@ -1217,7 +1217,7 @@ ESL_DECLARE(esl_status_t) esl_recv_event_timed(esl_handle_t *handle, uint32_t ms status = ESL_BREAK; } - if (handle->mutex) esl_mutex_unlock(handle->mutex); + esl_mutex_unlock(handle->mutex); return status;