Re: [PATCH] nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
From: Jakub Kicinski
Date: Wed Sep 25 2019 - 21:22:13 EST
On Wed, 25 Sep 2019 14:05:09 -0500, Navid Emamdoost wrote:
> In nfp_flower_spawn_vnic_reprs in the loop if initialization or the
> allocations fail memory is leaked. Appropriate releases are added.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
Fixes: b94524529741 ("nfp: flower: add per repr private data for LAG offload")
Acked-by: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx>