diff options
author | Hanjun Guo <[email protected]> | 2022-11-17 19:23:41 +0800 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2022-12-08 16:20:47 +0000 |
commit | 37e90c374dd11cf4919c51e847c6d6ced0abc555 (patch) | |
tree | add55567fd37a6c0c68ccf43cc2b9de2b4d6c484 /tools/perf/scripts/python | |
parent | 8740a12ca2e2959531ad253bac99ada338b33d80 (diff) |
tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
In crb_acpi_add(), we get the TPM2 table to retrieve information
like start method, and then assign them to the priv data, so the
TPM2 table is not used after the init, should be freed, call
acpi_put_table() to fix the memory leak.
Fixes: 30fc8d138e91 ("tpm: TPM 2.0 CRB Interface")
Cc: [email protected]
Signed-off-by: Hanjun Guo <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions