Re: [PATCH 2/4] arch/x86/kernel/kdebugfs.c: introduce missing kfree

From: Ingo Molnar
Date: Wed Sep 10 2008 - 08:04:45 EST



* Julia Lawall <julia@xxxxxxx> wrote:

> From: Julia Lawall <julia@xxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/