Re: [PATCH] net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()
From: David Miller
Date: Thu Dec 27 2018 - 19:28:44 EST
From: Peng Hao <peng.hao2@xxxxxxxxxx>
Date: Wed, 26 Dec 2018 16:28:30 +0800
> From: Wen Yang <wen.yang99@xxxxxxxxxx>
>
> This patch fixes potential double frees if register_hdlc_device() fails.
>
> Signed-off-by: Wen Yang <wen.yang99@xxxxxxxxxx>
> Reviewed-by: Peng Hao <peng.hao2@xxxxxxxxxx>
Applied.