In function ppi_callback(), memory allocated by acpi_get_name() will get
leaked when current device isn't the desired TPM device, so fix the
memory leak.
Signed-off-by: Jiang Liu
Cc: # 3.6
---
drivers/char/tpm/tpm_ppi.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
In function ppi_callback(), memory allocated by acpi_get_name() will get
leaked when current device isn't the desired TPM device, so fix the
memory leak.
Signed-off-by: Jiang Liu jiang@linux.intel.com
Cc: sta...@vger.kernel.org # 3.6
---
drivers/char/tpm/tpm_ppi.c | 15 +--
1
2 matches
Mail list logo