summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2013-12-19 20:38:15 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-05 15:54:21 +0100
commitdf45c712d1f4ef37714245fb75de726f4ca2bf8d (patch)
tree17b2e6481e68d95ff8b4a27931062c13f2621bd5 /drivers/acpi
parentd6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc (diff)
ACPI / TPM: fix memory leak when walking ACPI namespace
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.liu@linux.intel.com> Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions