Skip to content
Snippets Groups Projects
Commit 17d5a461 authored by Hayes Wang's avatar Hayes Wang Committed by Marek Vasut
Browse files

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: default avatarHayes Wang <hayeswang@realtek.com>
parent 621ed49d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment