diff options
author | Hanjun Guo | 2022-11-17 19:23:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-01-04 11:29:02 +0100 |
commit | e60fa800a32a693d672b1a091424d780278c4587 (patch) | |
tree | 6f98e8461eb9153818ae8393dfd03b8b281c07e3 /.mailmap | |
parent | b0785edaf649e5f04dc7f75533e810f4c00e4106 (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 '.mailmap')
0 files changed, 0 insertions, 0 deletions