Messages in this thread | | | From | Jesse Barnes <> | Subject | Re: [PATCH 4/6] drivers/pci: introduce missing kfree | Date | Fri, 13 Feb 2009 13:16:22 -0800 |
| |
On Sunday, February 8, 2009 1:45 pm Julia Lawall wrote: > From: Julia Lawall <julia@diku.dk> > > Error handling code following a kmalloc should free the allocated data. > Since the subsequent code that could provoke an error does not use the > allocated data, the allocation is just moved below it. > > The semantic match that finds the problem is as follows: > (http://www.emn.fr/x-info/coccinelle/)
Applied to my linux-next branch, thanks. -- Jesse Barnes, Intel Open Source Technology Center
| |