diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/ntlmssp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index 477b94c1d0..7a006a373f 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -463,9 +463,7 @@ static NTSTATUS ntlmssp_client_challenge(struct ntlmssp_state *ntlmssp_state, params.blobs = &auth_blob; wbc_status = wbcCredentialCache(¶ms, &info, &error); - if (error != NULL) { - wbcFreeMemory(error); - } + wbcFreeMemory(error); if (!WBC_ERROR_IS_OK(wbc_status)) { goto noccache; } |