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.18.13 by commit 830de9667b3ada0a75a3f098dfc7159709fe397b, it was introduced in version v5.8 by commit 6d94809af6b0830c4dfcad661535a5939bcb8a7d. For more details please see the references link.