diff options
author | Darren Jenkins <darrenrjenkins@gmail.com> | 2010-01-12 23:37:07 +1100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-01-19 23:56:02 -0500 |
commit | 7f07a605a3929d2d94dcbad8ccb7d280958d21f9 (patch) | |
tree | 0324eb959c005a4ba31d24c7e986f2a984c28616 /drivers/acpi/system.c | |
parent | c19bdb6126a5e1f43b4a4fc3c4b09c926667e5ef (diff) | |
download | linux-3.10-7f07a605a3929d2d94dcbad8ccb7d280958d21f9.tar.gz linux-3.10-7f07a605a3929d2d94dcbad8ccb7d280958d21f9.tar.bz2 linux-3.10-7f07a605a3929d2d94dcbad8ccb7d280958d21f9.zip |
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: Darren Jenkins <darrenrjenkins@gmail.com>
Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/system.c')
0 files changed, 0 insertions, 0 deletions