On Mon, Apr 15, 2013 at 6:29 PM, Dan Carpenter <[email protected]> wrote:
> 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).

ok thanks, sorry i will read the code more carefully before submitting
any patch.


>
> regards,
> dan carpenter
>
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to