Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46344
b: refs/heads/master
c: 6b366e2
h: refs/heads/master
v: v3
  • Loading branch information
Fiodor Suietov authored and Len Brown committed Feb 3, 2007
1 parent 642a9e1 commit 52ade22
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 0654a6d3c7a777ddccd35c5bbc5765ffbfe3ea96
refs/heads/master: 6b366e2fe1b68bd9af55caf166eaaf0609ba18a9
9 changes: 9 additions & 0 deletions trunk/drivers/acpi/utilities/utcopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,15 @@ acpi_ut_copy_simple_object(union acpi_operand_object *source_desc,
acpi_ut_add_reference(source_desc->reference.object);
break;

case ACPI_TYPE_REGION:
/*
* We copied the Region Handler, so we now must add a reference
*/
if (dest_desc->region.handler) {
acpi_ut_add_reference(dest_desc->region.handler);
}
break;

default:
/* Nothing to do for other simple objects */
break;
Expand Down

0 comments on commit 52ade22

Please sign in to comment.