libcli/auth: Don't pass back lm_sess_key as the same pointer as user_sess_key
authorAndrew Bartlett <abartlet@samba.org>
Mon, 20 Apr 2009 08:54:57 +0000 (10:54 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 20 Apr 2009 08:54:57 +0000 (10:54 +0200)
commit02ecdd8f292812b886ea3ae3d69d0e221346f9e7
tree6ea40a1e7001377b6c2b75c2fa0b3e04af713057
parent7a54cd041e04f901af5e73b9e57b9cff4e182955
libcli/auth: Don't pass back lm_sess_key as the same pointer as user_sess_key

This ensures that a talloc_free() of both pointers won't double-free
(sharing pointers like this is evil anyway).

Andrew Bartlett
libcli/auth/ntlm_check.c