aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities/utdelete.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/utilities/utdelete.c')
-rw-r--r--drivers/acpi/utilities/utdelete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/utilities/utdelete.c b/drivers/acpi/utilities/utdelete.c
index dbae72121cea..9c6867fcf009 100644
--- a/drivers/acpi/utilities/utdelete.c
+++ b/drivers/acpi/utilities/utdelete.c
@@ -236,7 +236,7 @@ static void acpi_ut_delete_internal_obj(union acpi_operand_object *object)
236 if (obj_pointer) { 236 if (obj_pointer) {
237 ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS, 237 ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS,
238 "Deleting Object Subptr %p\n", obj_pointer)); 238 "Deleting Object Subptr %p\n", obj_pointer));
239 ACPI_MEM_FREE(obj_pointer); 239 ACPI_FREE(obj_pointer);
240 } 240 }
241 241
242 /* Now the object can be safely deleted */ 242 /* Now the object can be safely deleted */
@@ -275,7 +275,7 @@ void acpi_ut_delete_internal_object_list(union acpi_operand_object **obj_list)
275 275
276 /* Free the combined parameter pointer list and object array */ 276 /* Free the combined parameter pointer list and object array */
277 277
278 ACPI_MEM_FREE(obj_list); 278 ACPI_FREE(obj_list);
279 return_VOID; 279 return_VOID;
280} 280}
281 281