mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
IB/mlx5: Fix memory leak in mlx5_ib_create_flow
In case memory resources for *ucmd* were allocated, release them before return. Addresses-Coverity-ID:1469857("Resource leak") Fixes:3b3233fbf0("IB/mlx5: Add flow counters binding support") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
828d810550
commit
299eafee39
1 changed files with 19 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue