diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbind_krb5_locator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/winbind_krb5_locator.c b/source3/nsswitch/winbind_krb5_locator.c index 18a9fe3429..dc2664b67c 100644 --- a/source3/nsswitch/winbind_krb5_locator.c +++ b/source3/nsswitch/winbind_krb5_locator.c @@ -171,7 +171,7 @@ static krb5_error_code smb_krb5_locator_call_cbfunc(const char *name, int (*cbfunc)(void *, int, struct sockaddr *), void *cbdata) { - struct addrinfo *out; + struct addrinfo *out = NULL; int ret; int count = 3; @@ -206,7 +206,6 @@ static krb5_error_code smb_krb5_locator_call_cbfunc(const char *name, #endif freeaddrinfo(out); - return ret; } |