confile: cleanup clr_config_rootfs_path()

parent 6620228b
......@@ -4695,8 +4695,7 @@ static inline int clr_config_mount_fstab(const char *key, struct lxc_conf *c,
static inline int clr_config_rootfs_path(const char *key, struct lxc_conf *c,
void *data)
{
free(c->rootfs.path);
c->rootfs.path = NULL;
free_disarm(c->rootfs.path);
return 0;
}
......
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