Re: [PATCH] ptp: Fix resource leak in case of error
From: David Miller
Date: Mon Oct 03 2016 - 21:54:43 EST
From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Sun, 2 Oct 2016 09:04:16 +0200
> A call to 'ida_simple_remove()' is missing in the error handling path.
>
> This as been spotted with the following coccinelle script which tries to
> detect missing 'ida_simple_remove()' call in error handling paths.
...
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Applied.