Skip to content
Commit 177c8d1c authored by Christophe Jaillet's avatar Christophe Jaillet Committed by David S. Miller
Browse files

net: mvpp2: Fix a memory leak in error handling path



if 'devm_kzalloc()' fails, we should release resources allocated so far,
just as done a few lines below.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3608b13c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment