IB/iser: Fix possible memory leak in iser_create_frwr_pool()
authorRoi Dayan <roid@mellanox.com>
Mon, 19 Aug 2013 13:41:51 +0000 (16:41 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 3 Sep 2013 04:24:08 +0000 (21:24 -0700)
commit27ae2d1ea578dce73ab5368a6bf31c342004e709
tree510d4f4b2e0f5fb67b44a9d920f2cdef1f3d034e
parent5587856c9659ac2d6ab201141aa8a5c2ff3be4cd
IB/iser: Fix possible memory leak in iser_create_frwr_pool()

Fix leak where desc is not being freed in error flows.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_verbs.c