ar71xx/ag71xx_mdio_probe: fix a memory leak when probe fails
authorAlexander Couzens <lynxis@fe80.eu>
Sun, 11 Jun 2017 10:49:19 +0000 (12:49 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Sun, 11 Jun 2017 12:22:44 +0000 (14:22 +0200)
commit64cd4b48e8fb51055a24382564a09877d6d6a08c
treecb0c64ef52aa3dd0891e51aa9f2016cd27fd1b57
parentd18cb142d5dcdf112095d593b60b8c16c74e986b
ar71xx/ag71xx_mdio_probe: fix a memory leak when probe fails

Found-by: Coverity Scan #1330233
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c