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: NDarren Jenkins <darrenrjenkins@gmail.com> Acked-by: NDarrick J. Wong <djwong@us.ibm.com> Signed-off-by: NLen Brown <len.brown@intel.com>
Showing
想要评论请 注册 或 登录