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, ...@@ -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, static inline int clr_config_init_cmd(const char *key, struct lxc_conf *c,
void *data) void *data)
{ {
free(c->init_cmd); free_disarm(c->init_cmd);
c->init_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