ll_temac: fix memory leak
If of_iomap() or irq_of_parse_and_map() fail then np must be freed. Signed-off-by:Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If of_iomap() or irq_of_parse_and_map() fail then np must be freed. Signed-off-by:Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>