mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 05:03:17 +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:
parent
8face1de22
commit
a58878d626
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user