confile: cleanup clr_config_selinux_context_keyring()

parent 6afcf6dd
......@@ -4581,8 +4581,7 @@ static inline int clr_config_selinux_context(const char *key,
static inline int clr_config_selinux_context_keyring(const char *key,
struct lxc_conf *c, void *data)
{
free(c->lsm_se_keyring_context);
c->lsm_se_keyring_context = NULL;
free_disarm(c->lsm_se_keyring_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