mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
fix some leaks
This commit is contained in:
parent
132ee30930
commit
30316df5c8
3 changed files with 14 additions and 5 deletions
|
|
@ -119,11 +119,13 @@ static struct monitor_item *add_item(struct pw_spa_monitor *this,
|
|||
&props->dict,
|
||||
support,
|
||||
n_support)) < 0) {
|
||||
pw_properties_free(props);
|
||||
pw_log_error("can't make factory instance: %d", res);
|
||||
return NULL;
|
||||
}
|
||||
if ((res = spa_handle_get_interface(handle, SPA_TYPE_INTERFACE_Node, &node_iface)) < 0) {
|
||||
pw_log_error("can't get NODE interface: %d", res);
|
||||
pw_properties_free(props);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue