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>
This commit is contained in:
parent
8b23570ab0
commit
8b66fcfdee
|
@ -417,10 +417,9 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
|
|||
acpi_ns_get_attached_object
|
||||
(info->field_node),
|
||||
&result_desc);
|
||||
ACPI_FREE(name_path);
|
||||
acpi_ut_remove_reference
|
||||
(obj_desc);
|
||||
}
|
||||
acpi_ut_remove_reference(obj_desc);
|
||||
ACPI_FREE(name_path);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue