[lkml]   [2012]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 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 <>
    > 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 <>

    Odd, didn't I already apply this patch?


    greg k-h

     \ /
      Last update: 2012-02-10 19:05    [W:0.018 / U:15.720 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site