Browse Source

rootwrap: file descriptor leak

Rémi Denis-Courmont 11 years ago
parent
commit
a8dffdef8b
1 changed files with 1 additions and 0 deletions
  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);
     }