提交 8b66fcfd 编写于 作者: B Bob Moore 提交者: Rafael J. Wysocki

ACPICA: acpiexec: fix a small memory leak regression

Eliminates warnings only seen when acpiexec exits.
Signed-off-by: NBob Moore <robert.moore@intel.com>
Signed-off-by: NErik Schmauss <erik.schmauss@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 8b23570a
...@@ -417,10 +417,9 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info, ...@@ -417,10 +417,9 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
acpi_ns_get_attached_object acpi_ns_get_attached_object
(info->field_node), (info->field_node),
&result_desc); &result_desc);
ACPI_FREE(name_path);
acpi_ut_remove_reference
(obj_desc);
} }
acpi_ut_remove_reference(obj_desc);
ACPI_FREE(name_path);
#endif #endif
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册