1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

Fix crash bug in check_sam_security() when make_server_info_sam() did a

talloc_steal and talloc_free on the sam account already.

Guenther
This commit is contained in:
Günther Deschner 2008-03-20 00:30:01 +01:00
parent 098380760d
commit dbc7237a8a

View File

@ -352,7 +352,6 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0,("check_sam_security: make_server_info_sam() failed with '%s'\n", nt_errstr(nt_status)));
TALLOC_FREE(sampass);
data_blob_free(&user_sess_key);
data_blob_free(&lm_sess_key);
return nt_status;