Fix some possible-NULL pointer usage.

This commit is contained in:
Elliott Sales de Andrade 2020-11-23 03:56:57 -05:00 committed by Wim Taymans
parent 0a30eb6329
commit 86fd6a0d3e
3 changed files with 27 additions and 19 deletions

View file

@ -2382,7 +2382,7 @@ jack_client_t * jack_client_open (const char *client_name,
client = calloc(1, sizeof(struct client));
if (client == NULL)
goto init_failed;
goto disabled;
pw_log_debug(NAME" %p: open '%s' options:%d", client, client_name, options);