lkml.org 
[lkml]   [2022]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] ACPI table release for TPM drivers
Date
The ACPI table should be released to avoid the memory leak,
here are patches for TPM drivers to add the missed acpi_put_table(),
which will fix the memory leak.

v2:
Add Cc: stable@vger.kernel.org to the commit message, and cc LKML
for all the patches, suggested by Jarkko.

Hanjun Guo (3):
tpm: acpi: Call acpi_put_table() to fix memory leak
tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak

drivers/char/tpm/eventlog/acpi.c | 12 +++++++++---
drivers/char/tpm/tpm_crb.c | 29 ++++++++++++++++++++---------
drivers/char/tpm/tpm_tis.c | 9 +++++----
3 files changed, 34 insertions(+), 16 deletions(-)

--
1.7.12.4

\
 
 \ /
  Last update: 2022-11-17 12:41    [W:0.051 / U:2.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site