ima: Fix potential memory leak in imainitcrypto()
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 v5.10.132 by commit c1d9702ceb4a091da6bee380627596d1fba09274, it was introduced in version v5.8 by commit 6d94809af6b0830c4dfcad661535a5939bcb8a7d. For more details please see the references link.