diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-03 22:29:39 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-05 14:29:32 +0100 |
commit | 181b23ceed77de50c2b9d05a92a795cce1beabb9 (patch) | |
tree | 0e3004095836821089a90c18251027f9450c1797 /source3 | |
parent | dcbfb6fc0b9050168e2010673caccb7ec8807bd1 (diff) | |
download | samba-181b23ceed77de50c2b9d05a92a795cce1beabb9.tar.gz samba-181b23ceed77de50c2b9d05a92a795cce1beabb9.tar.bz2 samba-181b23ceed77de50c2b9d05a92a795cce1beabb9.zip |
nsswitch: wbcFreeMemory deals fine with NULL
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; } |