Commit a09295f8 by Serge Hallyn

coverity: don't leak partial_fd

parent ca697342
......@@ -1046,14 +1046,14 @@ static bool lxcapi_create(struct lxc_container *c, const char *t,
exit(0);
}
if (wait_for_pid(pid) != 0)
goto out;
goto out_unlock;
/* reload config to get the rootfs */
if (c->lxc_conf)
lxc_conf_free(c->lxc_conf);
c->lxc_conf = NULL;
if (!load_config_locked(c, c->configfile))
goto out;
goto out_unlock;
if (!create_run_template(c, tpath, !!(flags & LXC_CREATE_QUIET), argv))
goto out_unlock;
......
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