[PATCH 2/3] KEYS: trusted: Fix memory leak in tpm2_key_encode()