confile: cleanup clr_config_console_path()

parent d6c4d815
......@@ -4420,8 +4420,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,
void *data)
{
free(c->console.path);
c->console.path = NULL;
free_disarm(c->console.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