Skip to content
Commit aa1d24a7 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

util: Do not leak dup-ed file descriptor



When going daemon criu services ask cr_daemon() to keep
some descriptors open and the routine dup2-s them. The
problem is that the original descriptor is left where it
was and is leaked.

travis-ci: success for util: Do not leak dup-ed file descriptor
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 879d6d1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment