RE: [PATCH] net: mana: Fix a memory leak in an error handling path in 'mana_create_txq()'

From: Dexuan Cui
Date: Sun Jun 20 2021 - 12:58:47 EST


> From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Sent: Sunday, June 20, 2021 6:43 AM
>
> If this test fails we must free some resources as in all the other error
> handling paths of this function.
>
> Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network
> Adapter (MANA)")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---

Reviewed-by: Dexuan Cui <decui@xxxxxxxxxxxxx>