Home
last modified time | relevance | path

Searched hist:"299 eafee39a22a9d9a7c19ae592b230bd199f259" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmain.cdiff 299eafee39a22a9d9a7c19ae592b230bd199f259 Thu Jun 07 14:19:15 CDT 2018 Gustavo A. R. Silva <gustavo@embeddedor.com> 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>