confile: cleanup clr_config_console_logfile()

parent 2ed97e6f
......@@ -4773,8 +4773,7 @@ static inline int clr_config_console_path(const char *key, struct lxc_conf *c,
static inline int clr_config_console_logfile(const char *key,
struct lxc_conf *c, void *data)
{
free(c->console.log_path);
c->console.log_path = NULL;
free_disarm(c->console.log_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