confile: cleanup clr_config_rootfs_options()

parent 7decd496
...@@ -4716,11 +4716,8 @@ static inline int clr_config_rootfs_mount(const char *key, struct lxc_conf *c, ...@@ -4716,11 +4716,8 @@ static inline int clr_config_rootfs_mount(const char *key, struct lxc_conf *c,
static inline int clr_config_rootfs_options(const char *key, struct lxc_conf *c, static inline int clr_config_rootfs_options(const char *key, struct lxc_conf *c,
void *data) void *data)
{ {
free(c->rootfs.options); free_disarm(c->rootfs.options);
c->rootfs.options = NULL; free_disarm(c->rootfs.data);
free(c->rootfs.data);
c->rootfs.data = NULL;
return 0; 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