diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-06-27 19:10:35 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-06-27 19:10:35 +0000 |
commit | e599b42ef5047e5546af949d87d2cfd2e17062b0 (patch) | |
tree | eeef1a6644e518893667349342fa66f9f0249fec /source/components/namespace | |
parent | 6b8f78e0a6a7880856440b372097482adb326592 (diff) |
Notes
Diffstat (limited to 'source/components/namespace')
-rw-r--r-- | source/components/namespace/nsobject.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/components/namespace/nsobject.c b/source/components/namespace/nsobject.c index 331759174255..9221ac00aa2e 100644 --- a/source/components/namespace/nsobject.c +++ b/source/components/namespace/nsobject.c @@ -265,6 +265,17 @@ AcpiNsDetachObject ( } } + /* + * Detach the object from any data objects (which are still held by + * the namespace node) + */ + + if (ObjDesc->Common.NextObject && + ((ObjDesc->Common.NextObject)->Common.Type == ACPI_TYPE_LOCAL_DATA)) + { + ObjDesc->Common.NextObject = NULL; + } + /* Reset the node type to untyped */ Node->Type = ACPI_TYPE_ANY; |