SUNRPC: Remove resource leak in svc_rdma_send_error()
commit4be34b9d69c97211ff4eb00d79078f3c1593804d
authorJesper Juhl <jj@chaosbits.net>
Sat, 22 Jan 2011 21:40:20 +0000 (22 22:40 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 17 Mar 2011 18:38:03 +0000 (17 14:38 -0400)
tree2e6b53f9b195829a7f02ea4b834b817f568426f3
parent5a02ab7c3c4580f94d13c683721039855b67cda6
SUNRPC: Remove resource leak in svc_rdma_send_error()

We leak the memory allocated to 'ctxt' when we return after
'ib_dma_mapping_error()' returns !=0.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c