Skip to content
Snippets Groups Projects
Commit 78beef62 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by David S. Miller
Browse files

nfp: abm: fix memory leak in nfp_abm_u32_knode_replace


In nfp_abm_u32_knode_replace if the allocation for match fails it should
go to the error handling instead of returning. Updated other gotos to
have correct errno returned, too.

Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a41e8a88
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