[PATCH 6.1 0338/1146] integrity: Fix memory leakage in keyring allocation error path