Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 30fc8d1 ("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]>
- Loading branch information