mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-15 06:28:07 +02:00
File and Resource Handling: Medium In on_connect(), if client_new() fails or pw_loop_add_io() fails, the accepted client_fd is never closed. The error path only calls client_free() which relies on pw_loop_destroy_source() to close the fd, but if the source was never created, the fd leaks. Fix by closing client_fd in the error path when it has not been transferred to a loop source. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||