Re: [PATCH 4/6] drivers/pci: introduce missing kfree

From: Matthew Wilcox
Date: Sun Feb 08 2009 - 20:22:17 EST


On Sun, Feb 08, 2009 at 10:45:24PM +0100, Julia Lawall wrote:
> From: Julia Lawall <julia@xxxxxxx>
>
> 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.
>
> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Reviewed-by: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>

--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
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/