net/9p: fix memory handling/allocation in rdma_request()
authorDavidlohr Bueso <dave@gnu.org>
Mon, 13 Sep 2010 15:53:18 +0000 (15:53 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 27 Sep 2010 12:52:50 +0000 (07:52 -0500)
Return -ENOMEM when erroring on kmalloc and fix memory leaks when returning on error.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

No differences found