Commit a1087525 authored by George Kiagiadakis's avatar George Kiagiadakis Committed by Wim Taymans
Browse files

jack: fix crash on close when metadata are not available

parent 389b4a72
Pipeline #162200 passed with stages
in 1 minute and 25 seconds
......@@ -2400,7 +2400,7 @@ int jack_client_close (jack_client_t *client)
if (c->registry)
pw_proxy_destroy((struct pw_proxy*)c->registry);
if (c->metadata->proxy)
if (c->metadata && c->metadata->proxy)
pw_proxy_destroy((struct pw_proxy*)c->metadata->proxy);
pw_core_disconnect(c->core);
pw_context_destroy(c->context.context);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment