confile: cleanup clr_config_selinux_context()

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