ima: Fix memory leak in __imainodehash()
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.18 by commit c4df8cb38f139ed9f4296868c0a6f15a26e8c491, it was introduced in version v5.18 by commit 280fe8367b0dc45b6ac5e04fad03e16e99540c0c. For more details please see the references link.