mirror of
git://github.com/lxc/lxc
synced 2025-08-31 00:59:33 +00:00
lxc_conf_free: free rootfs.pivot and log_file if not null
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user