Skip to content
Commit 63b459a2 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov
Browse files

unix: don't leak a file descriptor



1359            if (prep_unix_sk_cwd(ui, &cwd_fd, &root_fd))
>>> >>>     CID 175319:  Resource leaks  (RESOURCE_LEAK)
>>> >>>     Handle variable cwd_fd going out of scope leaks the handle.

travis-ci: success for unix: don't leak a file descriptor
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 3649d94c
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