Re: [BUG] drivers: edac: edac_pci_sysfs.c: memory leak in edac_pci_create_instance_kobj
From: Borislav Petkov <bp@alien8.de>
Date: 2021-08-01 08:19:58
From: Borislav Petkov <bp@alien8.de>
Date: 2021-08-01 08:19:58
On Sun, Aug 01, 2021 at 02:27:08PM +0800, nil Yi wrote:
Any feedback would be appreciated, thanks :)
Yes, I guess the couple of kobject_init_and_add() calls in EDAC-land
should be fixed similar to what
17ed808ad243 ("EDAC: Fix reference count leaks")
did.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette