free the server if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1737
dc483132-0cff-0310-8789-
dd5450dbe970
* $Source$
* $Author$
*
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
krb5_free_ticket(val)
krb5_ticket *val;
{
+ if (val->server)
+ krb5_free_principal(val->server);
if (val->enc_part.ciphertext.data)
xfree(val->enc_part.ciphertext.data);
if (val->enc_part2)