lkml.org 
[lkml]   [2012]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 2/2] staging/comedi/drivers: free allocated priv and release resources if comedi_alloc_subdevices
    From
    Hi Dan,

    On Sun, Jul 1, 2012 at 8:59 PM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
    > On Sun, Jul 01, 2012 at 07:08:40PM +0530, Devendra Naga wrote:
    >> as comedi_alloc_subdevices may fail, we leak out the memory allocated by alloc_private,
    >> and also the I/O regions we requested.
    >>
    >> free out the private data pointer of the driver, and release the I/O regions.
    >>
    >> Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
    >> ---
    >
    > Please drop this. Devendra sent a v2 of this.
    >
    > Devendra, please reply to the thread when you want a patch to be
    > dropped. Don't make other people (me) clean up for you.
    >
    sorry about that, i will say from now.
    > regards,
    > dan carpenter
    >

    Thanks,


    \
     
     \ /
      Last update: 2012-07-01 18:42    [W:0.021 / U:33.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site