From: John Kohl Date: Thu, 3 May 1990 15:44:38 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: krb5-1.0-alpha2~694 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=337c74f6e8ffe6427cc7320e3ffcbe77a558cbdb;p=krb5.git *** empty log message *** git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@703 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/free_rtree.c b/src/lib/krb5/krb/free_rtree.c new file mode 100644 index 000000000..1d55b078f --- /dev/null +++ b/src/lib/krb5/krb/free_rtree.c @@ -0,0 +1,32 @@ +/* + * $Source$ + * $Author$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * krb5_free_realm_tree() + */ + +#if !defined(lint) && !defined(SABER) +static char rcsid_free_rtree_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + +#include +#include +#include + +void +krb5_free_realm_tree(realms) +const krb5_principal *realms; +{ + register const krb5_principal *nrealms = realms; + while (*nrealms) { + krb5_free_principal(*nrealms); + realms++; + } + xfree(realms); +}