diff options
author | 2013-12-19 20:38:12 +0800 | |
---|---|---|
committer | 2014-01-05 16:07:14 +0100 | |
commit | 54e5bb46597e5eba63e460a1f96eb2021dc71fec (patch) | |
tree | fdd47cfce49f0a3fc4ed39623a28e133f4abc6f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: introduce helper interfaces for _DSM method (diff) | |
download | linux-dev-54e5bb46597e5eba63e460a1f96eb2021dc71fec.tar.xz linux-dev-54e5bb46597e5eba63e460a1f96eb2021dc71fec.zip |
PCI / pci-label: release allocated ACPI object on error recovery path
Function dsm_get_label() leaks the returned ACPI object if
obj->package.count is not 2, so fix the possible memory leak.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions