From: Jeremy Allison Date: Wed, 21 Mar 2007 01:32:01 +0000 (+0000) Subject: r21902: Don't free the thing you're trying to set in the cli state. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~895 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1639366561bd63d7023c54f811e2f87dcbbd0a31;p=thirdparty%2Fsamba.git r21902: Don't free the thing you're trying to set in the cli state. Jeremy. --- 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: