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