summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-03-15 15:57:14 +0100
committermarex <[email protected]>2020-05-01 12:35:21 +0200
commit9741795408d2fb907256899cd9403dd57b917358 (patch)
tree28cef670332ed29a8ec5e893c26f727cbcd8f44b /scripts/cleanpatch
parent6f6cf0083f466c49c97c175b0169a0cd31c35d63 (diff)
net: smc911x: Fix potential memleak() in init fail path
Fix memleak in the init fail path, where if allocation or registration of MDIO bus fails, then ethernet interface is not unregistered and the private data are not freed, yet the probe function reports a failure. Signed-off-by: Marek Vasut <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions