From 70674c3a5f7857281c54c4d2edb9d7975581b9b0 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Wed, 19 Feb 1997 01:00:22 +0000 Subject: krb5_xfree cleanup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9906 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/ktutil/ktutil_funcs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kadmin/ktutil/ktutil_funcs.c') diff --git a/src/kadmin/ktutil/ktutil_funcs.c b/src/kadmin/ktutil/ktutil_funcs.c index 5215fd815a..64b7272fc2 100644 --- a/src/kadmin/ktutil/ktutil_funcs.c +++ b/src/kadmin/ktutil/ktutil_funcs.c @@ -43,12 +43,12 @@ krb5_error_code ktutil_free_kt_list(context, list) for (lp = list; lp;) { retval = krb5_kt_free_entry(context, lp->entry); - krb5_xfree(lp->entry); + free((char *)lp->entry); if (retval) break; prev = lp; lp = lp->next; - krb5_xfree(prev); + free((char *)prev); } return retval; } @@ -135,7 +135,7 @@ krb5_error_code ktutil_read_keytab(context, name, list) lp->entry = entry; } if (entry) - krb5_xfree(entry); + free((char *)entry); if (retval) if (retval == KRB5_KT_END) retval = 0; @@ -286,7 +286,7 @@ krb5_error_code ktutil_read_srvtab(context, name, list) if (entry) { if (entry->magic == KV5M_KEYTAB_ENTRY) krb5_kt_free_entry(context, entry); - krb5_xfree(entry); + free((char *)entry); } if (retval) { ktutil_free_kt_list(context, tail); @@ -383,7 +383,7 @@ krb5_error_code ktutil_write_srvtab(context, list, name) for (lp = pruned; lp;) { prev = lp; lp = lp->next; - krb5_xfree(prev); + free((char *)prev); } return retval; } -- cgit