confile: cleanup clr_config_rootfs_mount()

parent ad16f12d
......@@ -4709,8 +4709,7 @@ static inline int clr_config_rootfs_managed(const char *key, struct lxc_conf *c,
static inline int clr_config_rootfs_mount(const char *key, struct lxc_conf *c,
void *data)
{
free(c->rootfs.mount);
c->rootfs.mount = NULL;
free_disarm(c->rootfs.mount);
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