فهرست منبع

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);
     }