summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-26 05:38:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:16 -0500
commitdf6dce1065d4323ebf8ca97b69f0a44804f19e11 (patch)
tree6088ff1c986dc5078d94fa2cf1129f82367dbad4 /source4/libcli/auth
parentec0128ef012f4280b2fb607cb9c88c7673894fe6 (diff)
downloadsamba-df6dce1065d4323ebf8ca97b69f0a44804f19e11.tar.gz
samba-df6dce1065d4323ebf8ca97b69f0a44804f19e11.tar.bz2
samba-df6dce1065d4323ebf8ca97b69f0a44804f19e11.zip
r2650: fixed a memory leak in make_server_info()
(This used to be commit 4aba6e7101041100f7d400abd5e7144b95528fc3)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/gensec_krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c
index 7d92873ac7..7895a6f1ed 100644
--- a/source4/libcli/auth/gensec_krb5.c
+++ b/source4/libcli/auth/gensec_krb5.c
@@ -611,7 +611,7 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security
*session_info_out = NULL;
- nt_status = make_server_info(&server_info, gensec_krb5_state->peer_principal);
+ nt_status = make_server_info(gensec_security, &server_info, gensec_krb5_state->peer_principal);
if (!NT_STATUS_IS_OK(nt_status)) {
return nt_status;
}