client-node: clean up buffers and other memory

This commit is contained in:
Wim Taymans 2019-08-14 11:45:28 +02:00
parent c879b85884
commit d86e462dca
2 changed files with 6 additions and 0 deletions

View file

@ -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;