mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
spa-node-factory: cleanup node when binding the client resource fails
This commit is contained in:
parent
16c1a7fe33
commit
17d7cdc80e
1 changed files with 1 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ error_create_node:
|
||||||
goto error_exit;
|
goto error_exit;
|
||||||
error_bind:
|
error_bind:
|
||||||
pw_resource_errorf_id(resource, new_id, res, "can't bind node");
|
pw_resource_errorf_id(resource, new_id, res, "can't bind node");
|
||||||
|
pw_impl_node_destroy(node);
|
||||||
goto error_exit;
|
goto error_exit;
|
||||||
|
|
||||||
error_exit_cleanup:
|
error_exit_cleanup:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue