SUNRPC: Fix a double-free in rpcbind
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 7 Jul 2008 16:18:52 +0000 (12:18 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Jul 2008 19:23:00 +0000 (15:23 -0400)
commit0d3a34b48c87a374b37d7a21a60d257d076484f3
treeb3b95c5855e25c5693d505bf74f9c5f7eccde8dc
parent2aac05a91971fbd1bf6cbed78b8731eb7454b9b7
SUNRPC: Fix a double-free in rpcbind

It is wrong to be freeing up the rpcbind arguments if the call to
rpcb_call_async() fails, since they should already have been freed up by
rpcb_map_release().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c