Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cleanup_fd to close intermediate pid sockets
This closes the fd and sets the variable to -1 as a single operation, which is easier to reason about because it does not leave any variables containing dangling references to invalid fds. Signed-off-by: Simon McVittie <smcv@collabora.com>
- Loading branch information