diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-06-07 21:19:15 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-11 19:02:27 +0200 |
commit | 299eafee39a22a9d9a7c19ae592b230bd199f259 (patch) | |
tree | 0e3e887be8a7d061f9c9239b2e85ea8ae33bed6b /.cocciconfig | |
parent | IB/rxe: avoid double kfree skb (diff) | |
download | linux-299eafee39a22a9d9a7c19ae592b230bd199f259.tar.xz linux-299eafee39a22a9d9a7c19ae592b230bd199f259.zip |
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: 3b3233fbf02e ("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>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions