summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-30 06:45:04 +0200
committerVolker Lendecke <vl@samba.org>2011-03-30 09:58:32 +0200
commit014d4093c3bdf0481a415b2df3084b743a9b4845 (patch)
treefee02906da2bca0e89c612820e41049df30ddb8d /source3/smbd
parent32a76ca146104e94a974e23668e93464c2b35a9a (diff)
downloadsamba-014d4093c3bdf0481a415b2df3084b743a9b4845.tar.gz
samba-014d4093c3bdf0481a415b2df3084b743a9b4845.tar.xz
samba-014d4093c3bdf0481a415b2df3084b743a9b4845.zip
s3: Fix Coverity ID 2304: FORWARD_NULL
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index b002fe90dd..c5d44c6185 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -673,9 +673,7 @@ static void reply_spnego_negotiate(struct smb_request *req,
}
#endif
- if (*auth_ntlmssp_state) {
- TALLOC_FREE(*auth_ntlmssp_state);
- }
+ TALLOC_FREE(*auth_ntlmssp_state);
if (kerb_mech) {
data_blob_free(&secblob);