Commit 7d72b959 by Serge Hallyn

coverity: close fout on error in is_wlan()

parent 9bfdc0ad
......@@ -3057,6 +3057,7 @@ static struct lxc_container *do_lxcapi_clone(struct lxc_container *c, const char
c->lxc_conf->unexpanded_config = strdup(saved_unexp_conf);
if (!c->lxc_conf->unexpanded_config) {
ERROR("Out of memory");
fclose(fout);
goto out;
}
clear_unexp_config_line(c->lxc_conf, "lxc.rootfs", false);
......
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