diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/krb5/free/f_tgt_cred.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/krb5/free/f_tgt_cred.c b/src/lib/krb5/free/f_tgt_cred.c new file mode 100644 index 000000000..85fe8909a --- /dev/null +++ b/src/lib/krb5/free/f_tgt_cred.c @@ -0,0 +1,31 @@ +/* + * $Source$ + * $Author$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * <krb5/mit-copyright.h>. + * + * krb5_free_tgt_creds() + */ + +#if !defined(lint) && !defined(SABER) +static char rcsid_f_tgt_cred_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + +#include <krb5/copyright.h> + +#include <krb5/krb5.h> +#include <krb5/ext-proto.h> + +void +krb5_free_tgt_creds(tgts) +krb5_creds **tgts; +{ + register krb5_creds **tgtpp; + for (tgtpp = tgts; *tgtpp; tgtpp++) + krb5_free_creds(*tgtpp); + xfree(tgts); +} |
