pipewire/src/modules/module-client-node
Pauli Virtanen a9911f68a0 client-node: free port io memmap also if port gone
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.
2024-03-29 20:39:13 +02:00
..
v0 modules: remove include of private.h 2023-07-11 19:31:27 +02:00
client-node.c client-node: free port io memmap also if port gone 2024-03-29 20:39:13 +02:00
client-node.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
protocol-native.c protocol: don't allow NULL event or command 2024-01-03 14:05:39 +01:00
remote-node.c client-node: small cleanups 2024-03-22 16:48:29 +01:00