summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2022-11-17 19:23:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-04 11:26:31 +0100
commite0d1cf8ef84bb14a673215699fb8acc187aa2c4a (patch)
tree98fa673c20e6f3849edd32cdb33fe3b84e8a58f2 /tools/perf/scripts/python/export-to-sqlite.py
parent2fcd3dc8b97a14f1672729c86b7041a1a89b052a (diff)
tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
commit db9622f762104459ff87ecdf885cc42c18053fd9 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions