[U-Boot] [PATCH] drivers: net: ldpaa_eth: fix resource leak

Joe Hershberger joe.hershberger at ni.com
Fri Feb 8 20:09:24 UTC 2019


On Fri, Feb 8, 2019 at 2:46 AM Pankaj Bansal <pankaj.bansal at nxp.com> wrote:
>
> if an error occurs in ldpaa_eth_init, need to free all resources
> before returning the error.
>
> Threfore, free net_dev before returning from ldpaa_eth_init.
>
> Signed-off-by: Pankaj Bansal <pankaj.bansal at nxp.com>
>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list