From 1639366561bd63d7023c54f811e2f87dcbbd0a31 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 21 Mar 2007 01:32:01 +0000 Subject: [PATCH] r21902: Don't free the thing you're trying to set in the cli state. Jeremy. --- source/libsmb/clifsinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libsmb/clifsinfo.c b/source/libsmb/clifsinfo.c index 0bd1e124eaa..8e994dd67bc 100644 --- a/source/libsmb/clifsinfo.c +++ b/source/libsmb/clifsinfo.c @@ -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: -- 2.47.3