On Sun, 2006-05-14 at 01:42 +0200, Jesper Juhl wrote:
> There's a mem leak in drivers/mtd/devices/block2mtd.c::block2mtd_setup()
>
> We can leak 'name' allocated with kmalloc in 'parse_name' if leave via
> the 'parse_err' macro since it contains a return but doesn't do any
> freeing.
>
> Spotted by coverity checker as bug 615.
Applied; thanks.
--
dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]