diff --git a/checkpolicy/policy_define.c b/checkpolicy/policy_define.c index 5f6915c2f8..f394f15ded 100644 --- a/checkpolicy/policy_define.c +++ b/checkpolicy/policy_define.c @@ -4374,6 +4374,7 @@ int define_user(void) } if (l == 0) { + mls_semantic_level_destroy(&usrdatum->range.level[1]); if (mls_semantic_level_cpy(&usrdatum->range.level[1], &usrdatum->range.level[0])) { yyerror("out of memory");