commit | 17d5a461a0da967c511032a160278b0e1d9fd349 | [log] [tgz] |
---|---|---|
author | Hayes Wang <hayeswang@realtek.com> | Wed Dec 16 17:03:22 2020 +0800 |
committer | Marek Vasut <marex@denx.de> | Wed Dec 16 10:27:09 2020 +0100 |
tree | 356ad791cd1970874ec7a740b9d49372c2289d64 | |
parent | 621ed49d3a2ea3c45be1cf774bef48439bd566f3 [diff] |
eth/r8152: free previous memory if r8152_eth_probe fail The r8152_eth_probe() may allocate a memory for ss->dev_priv. It has to be freed if r8152_eth_probe() fails finally. Signed-off-by: Hayes Wang <hayeswang@realtek.com>