git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0983807
)
Fix crash bug in check_sam_security() when make_server_info_sam() did a
author
Günther Deschner
<gd@samba.org>
Wed, 19 Mar 2008 23:30:01 +0000
(
00:30
+0100)
committer
Günther Deschner
<gd@samba.org>
Wed, 19 Mar 2008 23:54:20 +0000
(
00:54
+0100)
talloc_steal and talloc_free on the sam account already.
Guenther
source/auth/auth_sam.c
patch
|
blob
|
history
diff --git
a/source/auth/auth_sam.c
b/source/auth/auth_sam.c
index 66504a8a525aaa2fa8d046efd866e81b4ca30e26..4d25d31b565d1386c63d1873c725d142ac76887a 100644
(file)
--- a/
source/auth/auth_sam.c
+++ b/
source/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;