confile: cleanup clr_config_execute_cmd()

parent f9f6f28f
......@@ -4923,8 +4923,7 @@ static inline int clr_config_environment(const char *key, struct lxc_conf *c,
static inline int clr_config_execute_cmd(const char *key, struct lxc_conf *c,
void *data)
{
free(c->execute_cmd);
c->execute_cmd = NULL;
free_disarm(c->execute_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