Re: [PATCH] edac: fix memory leaks on failure path in edac_init()

2015-02-11 Thread Borislav Petkov
On Fri, Feb 06, 2015 at 12:50:53PM +0100, Borislav Petkov wrote: > On Thu, Feb 05, 2015 at 10:12:42PM -0800, Alexey Khoroshilov wrote: > > edac_init() does not deallocate already allocated resources on failure path. > > > > Found by Linux Driver Verification project (linuxtesting.org). > > > > Si

Re: [PATCH] edac: fix memory leaks on failure path in edac_init()

2015-02-06 Thread Borislav Petkov
On Thu, Feb 05, 2015 at 10:12:42PM -0800, Alexey Khoroshilov wrote: > edac_init() does not deallocate already allocated resources on failure path. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Thanks, queued for 3.21. -- Regards/Gruss

[PATCH] edac: fix memory leaks on failure path in edac_init()

2015-02-05 Thread Alexey Khoroshilov
edac_init() does not deallocate already allocated resources on failure path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/edac/edac_module.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/edac/