mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
Fix unlikely memory leak in ESL
This commit is contained in:
1 parent
a5397e5980
commit
ef13a63447
1 file changed
+1
@@ -163,6 +163,7 @@ ESL_DECLARE(esl_status_t) esl_mutex_create(esl_mutex_t **mutex)
|
|||||||
|
|
||||||
fail:
|
fail:
|
||||||
pthread_mutexattr_destroy(&attr);
|
pthread_mutexattr_destroy(&attr);
|
||||||
|
free(check);
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
success:
|
success:
|
||||||
|
|||||||
Reference in new issue
Block a user