[CRIU] [PATCH 0/5] Leak fd on error fixes
Kir Kolyshkin
kir at openvz.org
Tue May 5 15:31:07 PDT 2015
Here are a few trivial patches, fixing cases of a file descriptor
being leaked on an error path. Nothing serious but worth having
especially in case of a daemon.
Kir Kolyshkin (5):
open_inet_sk(): don't leak socket fd on error
serve_out_fd(): don't leak fd on error
restore_fs(): don't leak fds on error
tunfile_open(): don't leak fd on error path
log_init(): don't leak fd on error
files.c | 15 ++++++++++-----
log.c | 1 +
sk-inet.c | 4 ++--
tun.c | 2 +-
4 files changed, 14 insertions(+), 8 deletions(-)
--
1.9.3
More information about the CRIU
mailing list