diff options
author | Jiang Liu <[email protected]> | 2013-12-19 20:38:12 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2014-01-05 16:07:14 +0100 |
commit | 54e5bb46597e5eba63e460a1f96eb2021dc71fec (patch) | |
tree | fdd47cfce49f0a3fc4ed39623a28e133f4abc6f5 /lib/dynamic_debug.c | |
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions