summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-20 00:30:01 +0100
committerGünther Deschner <gd@samba.org>2008-03-20 00:54:20 +0100
commite3731bd1486788106f9f9c014858a99c54125046 (patch)
treed355fa929f37aa71d3d0886db72ba28f87699608 /source3
parentb6ab1c4061f6d7c715aa8b9a038dff5ab9016f6a (diff)
downloadsamba-e3731bd1486788106f9f9c014858a99c54125046.tar.gz
samba-e3731bd1486788106f9f9c014858a99c54125046.tar.bz2
samba-e3731bd1486788106f9f9c014858a99c54125046.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_sam.c1
1 files changed, 0 insertions, 1 deletions
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;