summaryrefslogtreecommitdiffstats
path: root/source/auth/auth_ntlmssp.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-12-16 12:30:49 +0000
committerGerald Carter <jerry@samba.org>2004-12-16 12:30:49 +0000
commit8d91e07ef22ad3ed484b04bc4968380a24940696 (patch)
treeb5b8989f8da9ef7f852081f0460995386edd4b5d /source/auth/auth_ntlmssp.c
parent1a878c865637feb80206c0dc599acebf7f4a46bd (diff)
downloadsamba-8d91e07ef22ad3ed484b04bc4968380a24940696.tar.gz
samba-8d91e07ef22ad3ed484b04bc4968380a24940696.tar.xz
samba-8d91e07ef22ad3ed484b04bc4968380a24940696.zip
r4231: commiting changes to 3.0.10samba-3.0.10
Diffstat (limited to 'source/auth/auth_ntlmssp.c')
-rw-r--r--source/auth/auth_ntlmssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_ntlmssp.c b/source/auth/auth_ntlmssp.c
index 4b425056b11..0e2c359251d 100644
--- a/source/auth/auth_ntlmssp.c
+++ b/source/auth/auth_ntlmssp.c
@@ -135,7 +135,7 @@ NTSTATUS auth_ntlmssp_start(AUTH_NTLMSSP_STATE **auth_ntlmssp_state)
mem_ctx = talloc_init("AUTH NTLMSSP context");
- *auth_ntlmssp_state = talloc_zero(mem_ctx, sizeof(**auth_ntlmssp_state));
+ *auth_ntlmssp_state = TALLOC_ZERO_P(mem_ctx, AUTH_NTLMSSP_STATE);
if (!*auth_ntlmssp_state) {
DEBUG(0,("auth_ntlmssp_start: talloc failed!\n"));
talloc_destroy(mem_ctx);