confile: cleanup clr_config_uts_name()

parent 8be0a750
...@@ -4379,8 +4379,7 @@ static inline int clr_config_rootfs_options(const char *key, struct lxc_conf *c, ...@@ -4379,8 +4379,7 @@ static inline int clr_config_rootfs_options(const char *key, struct lxc_conf *c,
static inline int clr_config_uts_name(const char *key, struct lxc_conf *c, static inline int clr_config_uts_name(const char *key, struct lxc_conf *c,
void *data) void *data)
{ {
free(c->utsname); free_disarm(c->utsname);
c->utsname = 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