Christophe JAILLET 0c8bd174f0 ACPI: scan: Fix a memory leak in an error handling path
If 'acpi_device_set_name()' fails, we must free
'acpi_device_bus_id->bus_id' or there is a (potential) memory leak.

Fixes: eb50aaf960e3 ("ACPI: scan: Use unique number for instance_no")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-05-10 19:02:55 +02:00
..
2021-04-26 17:04:41 +02:00
2020-11-10 18:52:51 +01:00
2021-04-27 10:16:46 -07:00
2021-04-27 10:16:46 -07:00
2021-03-19 17:45:49 +01:00
2021-04-08 16:17:32 +02:00
2019-06-23 09:23:33 +02:00
2021-04-26 17:04:41 +02:00
2021-04-26 17:04:41 +02:00
2021-01-22 16:17:19 +01:00
2021-02-20 21:50:59 -08:00
2021-04-26 17:04:41 +02:00
2021-04-26 17:04:41 +02:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:25:20 +01:00
2021-02-25 18:57:40 +01:00
2021-02-25 18:57:40 +01:00
2019-11-13 11:12:08 +01:00
2021-02-10 19:09:43 +01:00
2021-04-26 17:04:41 +02:00
2021-03-19 17:45:49 +01:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:08:06 +01:00
2020-07-09 14:09:28 +02:00
2020-11-09 19:08:06 +01:00