confile: cleanup clr_config_init_cmd()

parent e8f6cdb3
......@@ -4930,8 +4930,7 @@ static inline int clr_config_execute_cmd(const char *key, struct lxc_conf *c,
static inline int clr_config_init_cmd(const char *key, struct lxc_conf *c,
void *data)
{
free(c->init_cmd);
c->init_cmd = NULL;
free_disarm(c->init_cmd);
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