[lkml]   [2007]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] fix memory leak in UBI scanning unit
On 10/05/07, Artem Bityutskiy <> wrote:
> On Thu, 2007-05-10 at 00:26 +0200, Jesper Juhl wrote:
> > In drivers/mtd/ubi/scan.c::paranoid_check_si() there's a memory leak.
> > If the call
> > err = ubi_io_is_bad(ubi, pnum);
> > returns <0, then we'll return with out freeing (and thus leak) buf.
> > This patch eliminates the memory leak by freeing buf before returning.
> >
> > Problem spotted by the Coverity checker.
> It was already reported and fixed in our git tree. But thanks anyway.
Any idea when you'll be merging with Linus?
I just checked mainline git and the bug is still there :-(

Jesper Juhl <>
Don't top-post
Plain text mails only, please
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-06-13 00:25    [W:0.048 / U:16.380 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site