lkml.org 
[lkml]   [2008]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] arch/x86/kernel/kdebugfs.c: introduce missing kfree

* Julia Lawall <julia@diku.dk> wrote:

> From: Julia Lawall <julia@diku.dk>
>
> Error handling code following a kmalloc should free the allocated
> data. Note that at the point of the change, node has not yet been
> stored in d, so it is not affected by the existing cleanup code.

applied to tip/x86/urgent, thanks Julia.

> The semantic match that finds the problem is as follows:
> (http://www.emn.fr/x-info/coccinelle/)

cool stuff!

Ingo


\
 
 \ /
  Last update: 2008-09-10 14:07    [W:0.235 / U:2.612 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site