Christophe JAILLET
56c0290202
mdio-sun4i: Fix a memory leak
...
If the probing of the regulator is deferred, the memory allocated by
'mdiobus_alloc_size()' will be leaking.
It should be freed before the next call to 'sun4i_mdio_probe()' which will
reallocate it.
Fixes: 4bdcb1dd9feb ("net: Add MDIO bus driver for the Allwinner EMAC")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-08 14:30:28 -05:00
..
2016-01-07 14:31:27 -05:00
2016-10-20 14:25:23 -04:00
2017-12-13 15:00:10 -05:00
2017-09-01 18:30:50 -07:00
2017-01-18 16:56:10 -05:00
2016-01-07 14:31:27 -05:00
2016-12-10 23:31:19 -05:00
2017-03-22 12:43:00 -07:00
2016-11-30 10:22:27 -05:00
2017-10-12 22:59:38 -07:00
2016-01-07 14:31:27 -05:00
2017-11-24 01:23:49 +09:00
2016-12-24 11:46:01 -08:00
2017-11-02 11:10:55 +01:00
2017-08-30 14:50:11 -07:00
2017-10-11 14:14:32 -07:00
2017-10-11 14:14:32 -07:00
2017-07-05 09:23:53 +01:00
2016-01-07 14:31:27 -05:00
2016-11-17 12:05:05 -05:00
2016-12-24 11:46:01 -08:00
2017-03-22 12:43:00 -07:00
2017-11-08 10:24:14 +09:00
2017-06-20 13:41:24 -04:00
2017-11-04 09:26:51 +09:00
2017-11-28 10:30:38 -05:00
2017-12-18 15:04:44 -05:00
2017-12-13 15:01:47 -05:00
2017-02-07 10:51:46 -05:00
2017-02-09 17:10:23 -05:00
2017-08-29 14:42:17 -07:00
2015-05-14 13:40:55 -04:00
2017-03-29 10:32:32 -07:00
2017-11-02 11:10:55 +01:00
2016-03-16 19:55:37 -04:00
2016-03-14 15:27:22 -04:00
2017-08-22 14:22:18 -07:00
2016-07-16 21:32:58 -07:00
2017-08-06 20:55:28 -07:00
2017-08-06 20:55:28 -07:00
2016-01-07 14:31:26 -05:00
2017-09-05 14:42:52 -07:00
2017-09-05 14:42:52 -07:00
2017-09-05 14:42:52 -07:00
2017-09-05 14:42:52 -07:00
2016-03-14 15:27:22 -04:00
2018-01-08 14:30:28 -05:00
2016-03-14 15:27:22 -04:00
2017-12-18 15:09:42 -05:00
2017-05-16 11:41:08 -04:00
2017-12-13 15:04:40 -05:00
2017-12-26 12:26:43 -05:00
2017-05-16 15:58:18 -04:00
2017-02-08 13:29:04 -05:00
2016-12-10 23:31:19 -05:00
2017-12-13 15:00:10 -05:00
2017-11-08 10:24:14 +09:00
2017-06-06 21:14:13 -04:00
2017-08-06 20:55:28 -07:00
2017-12-13 15:00:10 -05:00
2018-01-08 14:21:58 -05:00
2016-12-24 11:46:01 -08:00
2017-11-14 21:33:50 +09:00
2017-08-11 14:28:58 -07:00
2018-01-02 13:40:28 -05:00
2017-12-01 15:18:42 -05:00
2017-08-06 20:55:29 -07:00
2017-06-22 11:12:31 -04:00
2017-03-07 13:33:24 -08:00
2016-01-07 14:31:27 -05:00
2016-06-27 10:40:57 -04:00
2017-11-02 11:10:55 +01:00
2016-01-07 14:31:27 -05:00
2017-10-09 20:49:36 -07:00
2016-12-02 10:36:47 -05:00
2017-09-18 16:33:18 -07:00