commit | 54e5bb46597e5eba63e460a1f96eb2021dc71fec | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@linux.intel.com> | Thu Dec 19 20:38:12 2013 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sun Jan 05 16:07:14 2014 +0100 |
tree | fdd47cfce49f0a3fc4ed39623a28e133f4abc6f5 | |
parent | a65ac52041cccaf598995bc44340849027f1d79b [diff] |
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>