git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1f1fd
)
SUNRPC: Fix a potential memory leak in rpc_new_client
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 18:13:21 +0000
(14:13 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 21:02:14 +0000
(17:02 -0400)
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>
net/sunrpc/clnt.c
patch
|
blob
|
history
diff --cc
net/sunrpc/clnt.c
Simple merge