]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r21902: Don't free the thing you're trying to set in the cli state.
authorJeremy Allison <jra@samba.org>
Wed, 21 Mar 2007 01:32:01 +0000 (01:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:47 +0000 (12:18 -0500)
Jeremy.

source/libsmb/clifsinfo.c

index 0bd1e124eaa0bc4b8bb5a0ff79b57cea66d00ad8..8e994dd67bc51629ffcbebff4d6532f2c1175dd8 100644 (file)
@@ -409,6 +409,7 @@ NTSTATUS cli_raw_ntlm_smb_encryption_start(struct cli_state *cli,
                }
                cli->trans_enc_state = es;
                cli->trans_enc_state->enc_on = True;
+               es = NULL;
        }
 
   fail: