lkml.org 
[lkml]   [2003]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Memory leak in mtd/chips/cfi_cmdset_0020
From
Date
On Mon, 2003-10-06 at 11:45 -0300, Felipe W Damasio wrote:
> Hi David,
>
> Patch against 2.6.0-test6.
>
> - Frees a previous allocated kmalloced variable before returning NULL;
>
> Found by smatch.

Applied; thanks. It'll be in the next update sent to Linus, when I get a
few spare moments for merging and testing.

Out of interest, why didn't smatch also find the same error 25 lines
further down?

--
dwmw2
-
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:49    [W:0.412 / U:0.504 seconds]
©2003-2011 Jasper Spaans. Advertise on this site