diff options
author | Dinghao Liu <[email protected]> | 2020-12-23 19:06:12 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-23 12:28:53 -0800 |
commit | 5d41f9b7ee7a5a5138894f58846a4ffed601498a (patch) | |
tree | be65b2a5398e5abf061eca0de232d8ba757d55d7 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 427c940558560bff2583d07fc119a21094675982 (diff) |
net: ethernet: Fix memleak in ethoc_probe
When mdiobus_register() fails, priv->mdio allocated
by mdiobus_alloc() has not been freed, which leads
to memleak.
Fixes: e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
Signed-off-by: Dinghao Liu <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions