confile: cleanup clr_config_tty_dir()

parent 7308d1c3
......@@ -4223,8 +4223,7 @@ static inline int clr_config_tty_max(const char *key, struct lxc_conf *c,
static inline int clr_config_tty_dir(const char *key, struct lxc_conf *c,
void *data)
{
free(c->ttys.dir);
c->ttys.dir = NULL;
free_disarm(c->ttys.dir);
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