confile: cleanup clr_config_console_path()

parent 137ee4b6
...@@ -4766,8 +4766,7 @@ static inline int clr_config_cap_keep(const char *key, struct lxc_conf *c, ...@@ -4766,8 +4766,7 @@ static inline int clr_config_cap_keep(const char *key, struct lxc_conf *c,
static inline int clr_config_console_path(const char *key, struct lxc_conf *c, static inline int clr_config_console_path(const char *key, struct lxc_conf *c,
void *data) void *data)
{ {
free(c->console.path); free_disarm(c->console.path);
c->console.path = 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