commit | 1c94dcf0d06eec09e4ac31f12c8715247f472bf3 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Apr 05 18:12:16 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Apr 05 18:12:16 2013 -0700 |
tree | c7d5f5717c9294e2f6cfbbe1b580913a07056489 | |
parent | 09c0cac82ab81841cfce7ce87a52f0fba6d8778e [diff] |
close_fds(): make coverity happy Coverity reports (CID 996830) that fd is leaked and never closed. In fact, we close all fds in a for loop below, so fd is closed as well, but it's very implicit. So close fd explicitly and make coverity (and possible reviewers) happy. Signed-off-by: Kir Kolyshkin <kir@openvz.org>