Trond Myklebust f05c124a70 SUNRPC: Fix a potential memory leak in rpc_new_client
If the call to rpciod_up() fails, we currently leak a reference to the
struct rpc_xprt.
As part of the fix, we also remove the redundant check for xprt!=NULL.
This is already taken care of by the callers.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2013-04-05 17:02:14 -04:00
..
2012-11-04 14:43:41 -05:00
2013-02-22 23:31:31 -05:00
2013-02-17 10:53:51 -05:00
2012-04-15 12:44:40 -04:00