summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-21 15:01:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:35 -0500
commit4def245b7959900cd7f6c3dc336ab7209cb2d5dc (patch)
tree82ce0b69c4fdb25999a2dc0782063f7662fb346c /source4
parent72249717272819d9fb73d4a67a4c546db4ac3f2c (diff)
downloadsamba-4def245b7959900cd7f6c3dc336ab7209cb2d5dc.tar.gz
samba-4def245b7959900cd7f6c3dc336ab7209cb2d5dc.tar.bz2
samba-4def245b7959900cd7f6c3dc336ab7209cb2d5dc.zip
r4326: fix memory leak
metze (This used to be commit 1ceeb77fc716729c69f2dba4a84579c366eefa1c)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/spnego.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c
index a13afbb186..01757a0487 100644
--- a/source4/libcli/auth/spnego.c
+++ b/source4/libcli/auth/spnego.c
@@ -479,7 +479,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
spnego_out.type = SPNEGO_NEG_TOKEN_INIT;
spnego_out.negTokenInit.mechTypes = mechlist;
spnego_out.negTokenInit.reqFlags = 0;
- spnego_out.negTokenInit.mechListMIC = data_blob(mechListMIC, strlen(mechListMIC));
+ spnego_out.negTokenInit.mechListMIC = data_blob_string_const(mechListMIC);
spnego_out.negTokenInit.mechToken = unwrapped_out;
if (spnego_write_data(out_mem_ctx, out, &spnego_out) == -1) {