Re: [PATCH 2/2] staging/comedi/drivers: free allocated priv andrelease resources if comedi_alloc_subdevices

From: Dan Carpenter
Date: Sun Jul 01 2012 - 11:30:04 EST


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.

regards,
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/