summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-25 12:21:59 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-26 15:01:03 +0100
commit9521801dc89a425a2d1e58d0cf7ca24e83b02a04 (patch)
treee9d69dfd4bf5bd8d6fe4266f5001d9b813c13fb6 /source4/kdc
parent4d9641793124954e5994e64e9ce810f8f76e0449 (diff)
downloadsamba-9521801dc89a425a2d1e58d0cf7ca24e83b02a04.tar.gz
samba-9521801dc89a425a2d1e58d0cf7ca24e83b02a04.tar.bz2
samba-9521801dc89a425a2d1e58d0cf7ca24e83b02a04.zip
s4:kdc: use krb5_data_free()
metze
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index 1cfe9852f0..3d11441062 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -345,7 +345,7 @@ static bool kdc_process(struct kdc_server *kdc,
}
if (k5_reply.length) {
*reply = data_blob_talloc(mem_ctx, k5_reply.data, k5_reply.length);
- krb5_free_data_contents(kdc->smb_krb5_context->krb5_context, &k5_reply);
+ krb5_data_free(&k5_reply);
} else {
*reply = data_blob(NULL, 0);
}