diff options
author | 2018-01-06 09:00:09 +0100 | |
---|---|---|
committer | 2018-01-08 14:30:28 -0500 | |
commit | 56c0290202ab94a2f2780c449395d4ae8495fab4 (patch) | |
tree | 62dfcbad2bd329ed2413f987165f8a05dfac8bce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | phylink: mark expected switch fall-throughs in phylink_mii_ioctl (diff) | |
download | wireguard-linux-56c0290202ab94a2f2780c449395d4ae8495fab4.tar.xz wireguard-linux-56c0290202ab94a2f2780c449395d4ae8495fab4.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions