mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
Fix unlikely memory leak in ESL
This commit is contained in:
parent
a5397e5980
commit
ef13a63447
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user