s3:libsmb: fix memory leak in cli_raw_ntlm_smb_encryption_start()
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Nov 2016 12:49:43 +0000 (13:49 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 9 Dec 2016 08:24:27 +0000 (09:24 +0100)
commitd6216b8f375fe553a1dbe9b85da3b994384ac392
treeef61ebd5ac5242a1fc37adf544378d77376b88ac
parent3c8e9a0ad3e6d23494cf4707b1e1f8be2972eb45
s3:libsmb: fix memory leak in cli_raw_ntlm_smb_encryption_start()

smb_trans_enc_state is a talloc pointer now, so we can talloc_move()
the gensec_security to the correct talloc parent.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12408

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/clifsinfo.c