summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-25 12:21:36 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-26 15:01:02 +0100
commit4d9641793124954e5994e64e9ce810f8f76e0449 (patch)
treee9795635387d8ec3b5bc430a9dce1b9c26d2d4c7
parent8a264753a1f80defe5335c334f8242ad46d2af9f (diff)
downloadsamba-4d9641793124954e5994e64e9ce810f8f76e0449.tar.gz
samba-4d9641793124954e5994e64e9ce810f8f76e0449.tar.bz2
samba-4d9641793124954e5994e64e9ce810f8f76e0449.zip
s4:auth/credentials: use krb5_data_free()
metze
-rw-r--r--source4/auth/kerberos/clikrb5.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/auth/kerberos/clikrb5.c b/source4/auth/kerberos/clikrb5.c
index cf87d13cf2..68e7eb90cc 100644
--- a/source4/auth/kerberos/clikrb5.c
+++ b/source4/auth/kerberos/clikrb5.c
@@ -74,13 +74,9 @@
void kerberos_free_data_contents(krb5_context context, krb5_data *pdata)
{
-#if defined(HAVE_KRB5_FREE_DATA_CONTENTS)
if (pdata->data) {
- krb5_free_data_contents(context, pdata);
+ krb5_data_free(pdata);
}
-#else
- SAFE_FREE(pdata->data);
-#endif
}
krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry)