mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
client-node: clean up buffers and other memory
This commit is contained in:
parent
c879b85884
commit
d86e462dca
2 changed files with 6 additions and 0 deletions
|
|
@ -1329,6 +1329,7 @@ static int port_release_mix(void *data, struct pw_port_mix *mix)
|
|||
if ((m = find_mix(port, mix->port.port_id)) == NULL || !m->valid)
|
||||
return -EINVAL;
|
||||
|
||||
clear_buffers(this, m);
|
||||
pw_map_remove(&impl->io_map, mix->id);
|
||||
m->valid = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue