Re: [PATCH] platform/x86: thinkpad_acpi: Fix a memory leak of EFCH MMIO resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 21 Jun 2022 17:54:59 +0000, Limonciello, Mario wrote:
> > Unlike release_mem_region(), a call to release_resource() does not
> > free the resource, so it has to be freed explicitly to avoid a memory
> > leak.
> 
> Thanks for finding and fixing this.

To be honest, credits should go to Yi Zhang at Red Hat. He reported the
bug in another driver, all I did was checking if other drivers might
suffer from the same issue.

> Reviewed-by: Mario Limonciello <mario.limonciello@xxxxxxx>

Thanks!

-- 
Jean Delvare
SUSE L3 Support


_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel



[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux