[PATCH 6.0 0328/1073] integrity: Fix memory leakage in keyring allocation error path