confile: cleanup clr_config_execute_cmd()

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