Re: [PATCH 2/2] staging/comedi/drivers: free allocated priv andrelease resources if comedi_alloc_subdevices
Date: Sun Jul 01 2012 - 12:04:26 EST
On Sun, Jul 1, 2012 at 8:59 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxx>
> 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.
> dan carpenter
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/