From e3731bd1486788106f9f9c014858a99c54125046 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 20 Mar 2008 00:30:01 +0100 Subject: 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 used to be commit dbc7237a8a566f3e86bd6e4b48593b93c5bfb94e) --- source3/auth/auth_sam.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c index 66504a8a52..4d25d31b56 100644 --- a/source3/auth/auth_sam.c +++ b/source3/auth/auth_sam.c @@ -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; -- cgit