Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117318
b: refs/heads/master
c: cf058bd
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Oct 23, 2008
1 parent ec7600f commit a26c7ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c35def2118d3d7cceb0f69d6707f613a7473df15
refs/heads/master: cf058bd1c84df9921ecc517d8a8a413f4d6b5b45
7 changes: 7 additions & 0 deletions trunk/drivers/acpi/utilities/utdelete.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,13 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action)
ACPI_EXCEPTION((AE_INFO, status,
"Could not update object reference count"));

/* Free any stacked Update State objects */

while (state_list) {
state = acpi_ut_pop_generic_state(&state_list);
acpi_ut_delete_generic_state(state);
}

return_ACPI_STATUS(status);
}

Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/acpi/utilities/utmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,15 @@ acpi_ut_walk_package_tree(union acpi_operand_object * source_object,
state->pkg.
this_target_obj, 0);
if (!state) {

/* Free any stacked Update State objects */

while (state_list) {
state =
acpi_ut_pop_generic_state
(&state_list);
acpi_ut_delete_generic_state(state);
}
return_ACPI_STATUS(AE_NO_MEMORY);
}
}
Expand Down

0 comments on commit a26c7ef

Please sign in to comment.