jack: unlock mutex on error path

This needs some more fixing because it leaks everything.
This commit is contained in:
Wim Taymans 2021-06-09 17:57:05 +02:00
parent 4b6fb5e96a
commit a10cb3a597

View file

@ -2929,7 +2929,7 @@ jack_client_t * jack_client_open (const char *client_name,
if (status) if (status)
*status |= JackNameNotUnique; *status |= JackNameNotUnique;
if (options & JackUseExactName) if (options & JackUseExactName)
goto exit; goto exit_unlock;
} }
pw_thread_loop_unlock(client->context.loop); pw_thread_loop_unlock(client->context.loop);