mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-18 04:04:34 +00:00
checkpolicy: add a missing free(id) in define_roleattribute()
Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
0a0d055283
commit
42658e729f
@ -2733,6 +2733,7 @@ int define_roleattribute(void)
|
||||
free(id);
|
||||
return -1;
|
||||
}
|
||||
free(id);
|
||||
|
||||
while ((id = queue_remove(id_queue))) {
|
||||
if (!is_id_in_scope(SYM_ROLES, id)) {
|
||||
|
Loading…
Reference in New Issue
Block a user