On Mon, Apr 15, 2013 at 04:51:50PM +0530, Devendra Naga wrote:
> leak introduced since pdx is not freed, free it at err path and
> at remove callback
> 

The original code is correct and this patch introduces a double
free bug.  ced_delete() already calls kfree(pdx).

regards,
dan carpenter

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to