NFSv4: Fix a memory leak in nfs4_discover_server_trunking
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 4 Apr 2013 19:55:00 +0000 (15:55 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 20:59:15 +0000 (16:59 -0400)
When we assign a new rpc_client to clp->cl_rpcclient, we need to destroy
the old one.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: stable@vger.kernel.org [>=3.7]

No differences found