Explorar o código

rootwrap: file descriptor leak

Rémi Denis-Courmont %!s(int64=11) %!d(string=hai) anos
pai
achega
a8dffdef8b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
     }