Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'thermal-5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull thermal control fix from Rafael Wysocki:
"Fix a memory leak in the int340x thermal driver's ACPI notify handler
(Chuansheng Liu)"

* tag 'thermal-5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
thermal: int340x: fix memory leak in int3400_notify()

+4
+4
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
··· 404 404 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", therm_event); 405 405 thermal_prop[4] = NULL; 406 406 kobject_uevent_env(&priv->thermal->device.kobj, KOBJ_CHANGE, thermal_prop); 407 + kfree(thermal_prop[0]); 408 + kfree(thermal_prop[1]); 409 + kfree(thermal_prop[2]); 410 + kfree(thermal_prop[3]); 407 411 } 408 412 409 413 static int int3400_thermal_get_temp(struct thermal_zone_device *thermal,