Florin Malita f5b404317b IB/mlx4: Fix leaks in __mlx4_ib_modify_qp
Temporarily allocated struct mlx4_qp_context *context is leaked by
several error paths.  The patch takes advantage of the return value
'err' being preinitialized to -EINVAL.

Spotted by Coverity (CID 1768).

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-07-20 21:19:43 -07:00
..
2007-07-09 20:12:26 -07:00
2007-07-12 15:41:24 -07:00
2007-07-12 15:41:24 -07:00
2007-07-20 21:19:43 -07:00
2007-07-12 15:41:24 -07:00