Don't leak screen cast DMA buffers
This needs two commits in PipeWire to make any difference:
commit fbaa4ddedd84afdffca16f090dcc4b0db8ccfc29
Author: Wim Taymans <wtaymans@redhat.com>
Date: Mon Jun 1 15:36:09 2020 +0200
stream: allow NULL param and 0 buffers in disconnect
When we are disconnecting, cleanup code might clear the params
and buffers, make sure we allow this to happen and the call the
right callbacks.
and
1098683168c7caf18eca48b37926ff3bd
Author: Wim Taymans <wtaymans@redhat.com>
Date: Tue Jun 2 15:19:39 2020 +0200
client-node: keep track of the client allocated fd
when we get port_buffers with memory from the client, store this
in the buffer data and make sure we close the fd when the buffers
are removed.