mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
client-node: free io_area
This commit is contained in:
parent
4f680c224b
commit
28a094a65b
1 changed files with 2 additions and 0 deletions
|
|
@ -1187,6 +1187,8 @@ static void node_free(void *data)
|
||||||
spa_hook_remove(&impl->node_listener);
|
spa_hook_remove(&impl->node_listener);
|
||||||
|
|
||||||
pw_array_clear(&impl->mems);
|
pw_array_clear(&impl->mems);
|
||||||
|
if (impl->io_areas)
|
||||||
|
pw_memblock_free(impl->io_areas);
|
||||||
|
|
||||||
if (impl->fds[0] != -1)
|
if (impl->fds[0] != -1)
|
||||||
close(impl->fds[0]);
|
close(impl->fds[0]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue