commit | d41d0910d97f05be987d2d60de7e8685c108963b | [log] [tgz] |
---|---|---|
author | Mustafa Ismail <mustafa.ismail@intel.com> | Tue Aug 23 16:50:13 2016 -0500 |
committer | Doug Ledford <dledford@redhat.com> | Wed Aug 24 11:31:39 2016 -0400 |
tree | 2acd1fa15ed66fe063c4909bbeb6e3598dad6622 | |
parent | 82d200cc6fc817dbf049b67e5e3215eab427e846 [diff] |
i40iw: Fix double free of allocated_buffer Memory allocated for iwqp; iwqp->allocated_buffer is freed twice in the create_qp error path. Correct this by having it freed only once in i40iw_free_qp_resources(). Fixes: d37498417947 ("i40iw: add files for iwarp interface") Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>