Commit a58878d6 by Serge Hallyn

lxc_conf_free: free rootfs.pivot and log_file if not null

parent 8face1de
......@@ -3945,6 +3945,10 @@ void lxc_conf_free(struct lxc_conf *conf)
free(conf->rootfs.mount);
if (conf->rootfs.path)
free(conf->rootfs.path);
if (conf->rootfs.pivot)
free(conf->rootfs.pivot);
if (conf->logfile)
free(conf->logfile);
if (conf->utsname)
free(conf->utsname);
if (conf->ttydir)
......
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