commit | 7f07a605a3929d2d94dcbad8ccb7d280958d21f9 | [log] [tgz] |
---|---|---|
author | Darren Jenkins <darrenrjenkins@gmail.com> | Tue Jan 12 23:37:07 2010 +1100 |
committer | Len Brown <len.brown@intel.com> | Tue Jan 19 23:56:02 2010 -0500 |
tree | 0324eb959c005a4ba31d24c7e986f2a984c28616 | |
parent | c19bdb6126a5e1f43b4a4fc3c4b09c926667e5ef [diff] |
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>