diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-08-03 18:14:44 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-09-30 11:55:29 +0200 |
commit | 438773fa0c19f7327bd37c0a5a592bcb2c8a4633 (patch) | |
tree | bc24eff332677da326236154ae9b3354f5981895 | |
parent | 907b4ad5be5af5d85c918fba680808a1a7759ae9 (diff) | |
download | acpica-438773fa0c19f7327bd37c0a5a592bcb2c8a4633.tar.gz |
Revert "Fix memory leak caused by _CID repair function"
Revert commit 180cb53963aa ("Fix memory leak caused by _CID repair
function") which is reported to cause a boot issue on Acer Swift 3
(SF314-51).
Reported-by: Adrien Precigout <dev@asdrip.fr>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | source/components/namespace/nsrepair2.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/components/namespace/nsrepair2.c b/source/components/namespace/nsrepair2.c index 40f0634de..d3dcd3180 100644 --- a/source/components/namespace/nsrepair2.c +++ b/source/components/namespace/nsrepair2.c @@ -565,13 +565,6 @@ AcpiNsRepair_CID ( (*ElementPtr)->Common.ReferenceCount = OriginalRefCount; - - /* - * The OriginalElement holds a reference from the package object - * that represents _HID. Since a new element was created by _HID, - * remove the reference from the _CID package. - */ - AcpiUtRemoveReference (OriginalElement); } ElementPtr++; |