summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/dbmethod.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/dbmethod.c')
-rw-r--r--drivers/acpi/acpica/dbmethod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/dbmethod.c b/drivers/acpi/acpica/dbmethod.c
index 15c8237b8a80..df62c9245efc 100644
--- a/drivers/acpi/acpica/dbmethod.c
+++ b/drivers/acpi/acpica/dbmethod.c
@@ -422,6 +422,7 @@ acpi_db_walk_for_execute(acpi_handle obj_handle,
status = acpi_get_object_info(obj_handle, &obj_info);
if (ACPI_FAILURE(status)) {
+ ACPI_FREE(pathname);
return (status);
}