Commit 8b66fcfd authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: acpiexec: fix a small memory leak regression

Eliminates warnings only seen when acpiexec exits.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarErik Schmauss <erik.schmauss@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 8b23570a
......@@ -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
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment