This will fix a leak on early exit or case of single policy, but it should 
additionally be freed in the for-loop. But... I seriously doubt the policy does 
anything meaningful these days and the more merciful solution would be be just 
axe the whole thing.

Are you actually trying to use the SELinux policy stuff for something, or is 
this just something spotted by static analysis?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3301#issuecomment-2360348765
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3301/c2360348...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to