lkml.org 
[lkml]   [2003]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Memory leak in mtd/chips/cfi_cmdset_0020.c
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.056 / U:1.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site