Re: [PATCH] mtd: nand: fix memory leak on ep on error exit returns

2017-12-13 Thread Colin Ian King
On 13/12/17 21:02, Boris Brezillon wrote: > Hi Colin, > > On Wed, 13 Dec 2017 20:49:09 + > Colin King wrote: > >> From: Colin Ian King >> >> There are two error return paths that are not kfree'ing ep that >> lead to memory leaks. Fix this by exiting on error via the >> ext_out exit path th

Re: [PATCH] mtd: nand: fix memory leak on ep on error exit returns

2017-12-13 Thread Boris Brezillon
Hi Colin, On Wed, 13 Dec 2017 20:49:09 + Colin King wrote: > From: Colin Ian King > > There are two error return paths that are not kfree'ing ep that > lead to memory leaks. Fix this by exiting on error via the > ext_out exit path that performs the necessary kfree. Well, given that no on