[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120210180037.GA588@kroah.com>
Date: Fri, 10 Feb 2012 10:00:37 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Jesper Juhl <jj@...osbits.net>
Cc: linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
"Justin P. Mattock" <justinmattock@...il.com>,
Ilia Mirkin <imirkin@...m.mit.edu>,
Lucas De Marchi <lucas.demarchi@...fusion.mobi>
Subject: Re: Staging: bcm: Don't leak 'pstAddIndication' in
CmHost.c::StoreCmControlResponseMessage()
On Thu, Feb 09, 2012 at 11:33:25PM +0100, Jesper Juhl wrote:
> From: Jesper Juhl <jj@...esealer.com>
>
> We allocate memory for 'pstAddIndication' with kmalloc() in
> drivers/staging/bcm/CmHost.c::StoreCmControlResponseMessage() and then
> neglect to free it on a number of exit paths from that function.
>
> This could probably be resolved cleaner/nicer, but this file needs a
> serious overhaul in any case, so I opted for just fixing the problem
> as directly as I could and then we can clean it up generally
> later... This at least makes it stop bleeding..
>
> Signed-off-by: Jesper Juhl <jj@...esealer.com>
Odd, didn't I already apply this patch?
confused,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists