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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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 kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux