confile: cleanup clr_config_tty_dir()

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