commit | 7bc10388ccdd79b3d20463151a1f8e7a590a775b | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 24 17:30:15 2015 +0300 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Jun 24 19:52:34 2015 +0200 |
tree | b8a4839a2ed55804273bfe6818bfd676f8cf13c2 | |
parent | 0f1b414d190724617eb1cdd615592fa8cd9d0b50 [diff] |
ACPI / resources: free memory on error in add_region_before() There is a small memory leak on error. Fixes: 0f1b414d1907 (ACPI / PNP: Avoid conflicting resource reservations) Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>