diff options
Diffstat (limited to 'drivers/acpi/namespace/nseval.c')
-rw-r--r-- | drivers/acpi/namespace/nseval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/namespace/nseval.c b/drivers/acpi/namespace/nseval.c index 80ef95545636..f5d8e71b82cc 100644 --- a/drivers/acpi/namespace/nseval.c +++ b/drivers/acpi/namespace/nseval.c | |||
@@ -151,7 +151,7 @@ acpi_ns_evaluate_relative(char *pathname, struct acpi_parameter_info *info) | |||
151 | acpi_ut_delete_generic_state(scope_info); | 151 | acpi_ut_delete_generic_state(scope_info); |
152 | 152 | ||
153 | cleanup1: | 153 | cleanup1: |
154 | ACPI_MEM_FREE(internal_path); | 154 | ACPI_FREE(internal_path); |
155 | return_ACPI_STATUS(status); | 155 | return_ACPI_STATUS(status); |
156 | } | 156 | } |
157 | 157 | ||
@@ -228,7 +228,7 @@ acpi_ns_evaluate_by_name(char *pathname, struct acpi_parameter_info *info) | |||
228 | /* Cleanup */ | 228 | /* Cleanup */ |
229 | 229 | ||
230 | if (internal_path) { | 230 | if (internal_path) { |
231 | ACPI_MEM_FREE(internal_path); | 231 | ACPI_FREE(internal_path); |
232 | } | 232 | } |
233 | 233 | ||
234 | return_ACPI_STATUS(status); | 234 | return_ACPI_STATUS(status); |