Commit 0fd48914 by Serge Hallyn Committed by Stéphane Graber

fix leak of netnsfd in recent commit

parent 8fd5b5d9
......@@ -1058,6 +1058,7 @@ int __lxc_start(const char *name, struct lxc_conf *conf,
err = lxc_poll(name, handler);
if (err) {
ERROR("mainloop exited with an error");
close(netnsfd);
goto out_abort;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment