[PATCH] Memory leak in mtd/chips/cfi_cmdset_0020.c
Jörn Engel
joern at wohnheim.fh-wedel.de
Tue Sep 23 16:37:20 EDT 2003
On Tue, 23 September 2003 16:25:01 -0300, Felipe W Damasio wrote:
>
> Patch against 2.6-test5.
>
> If other kmallocs failed after successfully allocating a "struct
> mtd_info", it should be freed before returning NULL.
>
> This function is called by inter_module_register...so I'm not sure
> it should really be freed...please review :)
>
> Don't have the hardware, so just compilation checked.
Very few people do, STMicro sells those chips to a handpicked group of
users only. And none of them use 2.6 yet, to my knowledge. But your
patch looks fine, so please do apply, Andrew and David.
Jörn
--
A defeated army first battles and then seeks victory.
-- Sun Tzu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
More information about the linux-mtd
mailing list