[PATCH openEuler-5.10-LTS 065/109] ima: Fix potential memory leak in ima_init_crypto()