ll_temac: fix memory leak
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 9 Jul 2010 06:43:20 +0000 (23:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2010 06:43:20 +0000 (23:43 -0700)
commit7cc36f6f7116918c8a8990a0f23f62d2288a81bf
treec7acec6340939e016e01be98a88cb68b8e941a7b
parent9f1e7582749980b51da67671b2536aadca3596b8
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>
drivers/net/ll_temac_main.c