Fix unlikely memory leak in ESL

This commit is contained in:
Travis Cross 2013-05-28 03:01:49 +00:00
parent a5397e5980
commit ef13a63447
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ ESL_DECLARE(esl_status_t) esl_mutex_create(esl_mutex_t **mutex)
fail:
pthread_mutexattr_destroy(&attr);
free(check);
goto done;
success: