diff options
| author | Ben Boeckel <[email protected]> | 2021-04-29 19:21:56 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2021-05-12 19:36:37 +0000 |
| commit | b3ad7855b7ae3bed4242894d07bdb7f186652dbe (patch) | |
| tree | 29702fbc09fa26150268f5abbb03d9fb5181a79c /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | KEYS: trusted: Fix memory leak on object td (diff) | |
| download | kernel-b3ad7855b7ae3bed4242894d07bdb7f186652dbe.tar.gz kernel-b3ad7855b7ae3bed4242894d07bdb7f186652dbe.zip | |
trusted-keys: match tpm_get_ops on all return paths
The `tpm_get_ops` call at the beginning of the function is not paired
with a `tpm_put_ops` on this return path.
Cc: [email protected]
Fixes: f2219745250f ("security: keys: trusted: use ASN.1 TPM2 key format for the blobs")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Ben Boeckel <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
