On Sun, 5 Aug 2012, Daniel Vetter wrote:
On Tue, Jul 31, 2012 at 10:31:15PM +0200, Jesper Juhl wrote:
If the allocation of 'buf' succeeds but the allocation of 'msgs' fails we'll return false and leak 'buf' when it goes out of scope.
Signed-off-by: Jesper Juhl jj@chaosbits.net
I've already merged a similar patch from Alan Cox for -fixes, should land in 3.6 soonish.
Perfect.