diff options
author | 2022-11-17 19:23:42 +0800 | |
---|---|---|
committer | 2022-12-08 16:20:47 +0000 | |
commit | db9622f762104459ff87ecdf885cc42c18053fd9 (patch) | |
tree | 8a7d8a460f0f3f6dd623d2edb3609f828839d8d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak (diff) | |
download | wireguard-linux-db9622f762104459ff87ecdf885cc42c18053fd9.tar.xz wireguard-linux-db9622f762104459ff87ecdf885cc42c18053fd9.zip |
tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
In check_acpi_tpm2(), we get the TPM2 table just to make
sure the table is there, not used after the init, so the
acpi_put_table() should be added to release the ACPI memory.
Fixes: 4cb586a188d4 ("tpm_tis: Consolidate the platform and acpi probe flow")
Cc: stable@vger.kernel.org
Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions