diff options
author | Ken Raeburn <raeburn@mit.edu> | 2009-02-02 21:13:42 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2009-02-02 21:13:42 +0000 |
commit | bbf37faa0f764fde2a2ad2a49281f0c2cd6378dd (patch) | |
tree | 0665cc98c42d9c5bc0bb16976eaf12d1fedad08d /src/kadmin | |
parent | 777f05d1b91d07ece4bd0e313e131b1a640cfad4 (diff) | |
download | krb5-bbf37faa0f764fde2a2ad2a49281f0c2cd6378dd.zip krb5-bbf37faa0f764fde2a2ad2a49281f0c2cd6378dd.tar.gz krb5-bbf37faa0f764fde2a2ad2a49281f0c2cd6378dd.tar.bz2 |
Get rid of casts of free() argument to char*, except where it's
casting away const (so as to make this change warning-neutral), and in
unicode source (which we may want to keep in sync with another
source), and krb5_xfree macro (to be handled separately).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21870 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/ktutil/ktutil_funcs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kadmin/ktutil/ktutil_funcs.c b/src/kadmin/ktutil/ktutil_funcs.c index 1680875..c39448c 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); - free((char *)lp->entry); + free(lp->entry); if (retval) break; prev = lp; lp = lp->next; - free((char *)prev); + free(prev); } return retval; } @@ -283,7 +283,7 @@ krb5_error_code ktutil_read_keytab(context, name, list) lp->entry = entry; } if (entry) - free((char *)entry); + free(entry); if (retval) { if (retval == KRB5_KT_END) retval = 0; |