Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPICA: acpiexec: fix a small memory leak regression

Eliminates warnings only seen when acpiexec exits.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Bob Moore and committed by
Rafael J. Wysocki
8b66fcfd 8b23570a

+2 -3
+2 -3
drivers/acpi/acpica/dsfield.c
··· 417 417 acpi_ns_get_attached_object 418 418 (info->field_node), 419 419 &result_desc); 420 - ACPI_FREE(name_path); 421 - acpi_ut_remove_reference 422 - (obj_desc); 423 420 } 421 + acpi_ut_remove_reference(obj_desc); 422 + ACPI_FREE(name_path); 424 423 #endif 425 424 } 426 425 }