confile: cleanup clr_config_selinux_context()

parent aa04cbb3
......@@ -4260,8 +4260,7 @@ static inline int clr_config_apparmor_raw(const char *key,
static inline int clr_config_selinux_context(const char *key,
struct lxc_conf *c, void *data)
{
free(c->lsm_se_context);
c->lsm_se_context = NULL;
free_disarm(c->lsm_se_context);
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