ソースを参照

rootwrap: file descriptor leak

Rémi Denis-Courmont 11 年 前
コミット
a8dffdef8b
1 ファイル変更1 行追加0 行削除
  1. 1 0
      bin/rootwrap.c

+ 1 - 0
bin/rootwrap.c

@@ -172,6 +172,7 @@ static void rootprocess (int fd)
                 close (sock);
                 continue;
             }
+            close (sock);
         }
         send_err (fd, errno);
     }