]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[libesl] Coverity 1024459 Missing unlock
authorAndrey Volk <andywolk@gmail.com>
Fri, 31 Jan 2025 14:54:59 +0000 (17:54 +0300)
committerAndrey Volk <andywolk@gmail.com>
Mon, 3 Feb 2025 23:18:47 +0000 (02:18 +0300)
libs/esl/src/esl.c

index 9304bc5749aa3a67de100491bfbc27a428b6c1eb..d796860a119b93dd84b6bee6bd69917edb2d6a89 100644 (file)
@@ -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;