From f9b7e03318852766ef294395e6694b16b3c619d7 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 20 Feb 1991 15:21:56 +0000 Subject: [PATCH] update copyright free the server if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1737 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/free/f_ticket.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/free/f_ticket.c b/src/lib/krb5/free/f_ticket.c index 2219bb7b6..b4ae9f3f0 100644 --- a/src/lib/krb5/free/f_ticket.c +++ b/src/lib/krb5/free/f_ticket.c @@ -2,7 +2,8 @@ * $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 * . @@ -23,6 +24,8 @@ void 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) -- 2.26.2