mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
protocol-native: cleanup when starting a server fails
This commit is contained in:
parent
d672e8fbf2
commit
18ce166735
1 changed files with 3 additions and 0 deletions
|
|
@ -1845,6 +1845,9 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args_str)
|
|||
return 0;
|
||||
|
||||
error_cleanup:
|
||||
pw_properties_free(d->props);
|
||||
if (d->security)
|
||||
protocol_native_security_context_free(d->security);
|
||||
pw_protocol_destroy(this);
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue