aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-01-14 06:37:43 +0000
committerNate Lawson <njl@FreeBSD.org>2005-01-14 06:37:43 +0000
commitd26e4b9a024cf4111c2925ff84634c934872e1e4 (patch)
tree22c9dc644cd41bf695d92d780214ec5de0eee435 /sys/contrib/dev
parent1997c537be039b083d9156b1c8685ac9ff25e911 (diff)
parentedd973a0132bbd6087729a84711df58d44738dfe (diff)
downloadsrc-d26e4b9a024cf4111c2925ff84634c934872e1e4.tar.gz
src-d26e4b9a024cf4111c2925ff84634c934872e1e4.zip
This commit was generated by cvs2svn to compensate for changes in r140216,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=140217
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r--sys/contrib/dev/acpica/nsinit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/contrib/dev/acpica/nsinit.c b/sys/contrib/dev/acpica/nsinit.c
index 207365c0bddd..a11a67520a7c 100644
--- a/sys/contrib/dev/acpica/nsinit.c
+++ b/sys/contrib/dev/acpica/nsinit.c
@@ -515,6 +515,13 @@ AcpiNsInitOneDevice (
}
else
{
+ /* Delete any return object (Especially if ImplicitReturn is enabled) */
+
+ if (Pinfo.ReturnObject)
+ {
+ AcpiUtRemoveReference (Pinfo.ReturnObject);
+ }
+
/* Count of successful INIs */
Info->Num_INI++;