mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
parent
f961c726de
commit
8a9bb9dabb
2 changed files with 3 additions and 2 deletions
|
|
@ -635,7 +635,7 @@ static int impl_steal_fd(struct pw_protocol_client *client)
|
|||
if (impl->source == NULL)
|
||||
return -EIO;
|
||||
|
||||
fd = dup(impl->source->fd);
|
||||
fd = fcntl(impl->source->fd, F_DUPFD_CLOEXEC, 3);
|
||||
if (fd < 0)
|
||||
return -errno;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue