mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-30 08:20:06 +01:00
clear_port() clears all struct mix and removes the port, and can occur before port io is set to NULL. In this case the port memmaps are not freed, and are leaked until client pool closes. Fix by freeing the old io memmap when setting io to NULL, also when the port was already cleared, so that the memmap lifecycle is the same as that of the IO. |
||
|---|---|---|
| .. | ||
| v0 | ||
| client-node.c | ||
| client-node.h | ||
| protocol-native.c | ||
| remote-node.c | ||