Skip to content
Snippets Groups Projects
Commit 9de17127 authored by Ludovico de Nittis's avatar Ludovico de Nittis :palm_tree:
Browse files

launch.c: Close the file descriptors after being forwarded


g_unix_fd_list_append() duplicates the given FD, so we need to close our
copy, otherwise it might be left indefinitely open.

Also, as soon as we send them over D-Bus, we need to unref the
FD list to avoid keeping them open.

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 2f387276
No related branches found
No related tags found
1 merge request!145launch.c: Close the file descriptors after being forwarded
Pipeline #4683 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment