Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7f07a605 authored by Darren Jenkins's avatar Darren Jenkins Committed by Len Brown
Browse files

ACPI: power_meter: remove double kfree()



resource->domain_devices can be double kfree()'d in a couple of places.
Fix this by setting num_domain_devices = 0 after the kfree().

Coverity CID: 13356, 13355, 13354

Signed-off-by: default avatarDarren Jenkins <darrenrjenkins@gmail.com>
Acked-by: default avatarDarrick J. Wong <djwong@us.ibm.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c19bdb61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment