Skip to content
Commit 258ed19f authored by Pan Bian's avatar Pan Bian Committed by Saeed Mahameed
Browse files

net/mlx5e: free page before return



Instead of directly return, goto the error handling label to free
allocated page.

Fixes: 5f29458b ("net/mlx5e: Support dump callback in TX reporter")
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 1fe3e316
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