diff options
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index d100bf2b4e8..c8e10216c11 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -55,7 +55,7 @@ struct auth_domain *unix_domain_find(char *name) | |||
55 | while(1) { | 55 | while(1) { |
56 | if (rv) { | 56 | if (rv) { |
57 | if (new && rv != &new->h) | 57 | if (new && rv != &new->h) |
58 | svcauth_unix_domain_release(new); | 58 | svcauth_unix_domain_release(&new->h); |
59 | 59 | ||
60 | if (rv->flavour != &svcauth_unix) { | 60 | if (rv->flavour != &svcauth_unix) { |
61 | auth_domain_put(rv); | 61 | auth_domain_put(rv); |