From: Serge Hallyn Date: Sat, 8 Mar 2014 02:38:20 +0000 (-0600) Subject: fix leak of netnsfd in recent commit X-Git-Tag: lxc-1.1.0.alpha1~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94a18c830efe0d59a6499e6570f0246cdbf09842;p=thirdparty%2Flxc.git fix leak of netnsfd in recent commit Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/start.c b/src/lxc/start.c index bae01e49c..68982db40 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -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; }