mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
core: fix leak
This commit is contained in:
parent
61e7218006
commit
5cc4c5c378
1 changed files with 3 additions and 1 deletions
|
|
@ -586,8 +586,10 @@ struct pw_port *pw_core_find_port(struct pw_core *core,
|
||||||
pout,
|
pout,
|
||||||
pin,
|
pin,
|
||||||
props,
|
props,
|
||||||
n_format_filters, format_filters, error) == NULL)
|
n_format_filters, format_filters, error) == NULL) {
|
||||||
|
free(*error);
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
best = p;
|
best = p;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue