From 52330937a32dd6b974a297f4f9cbceedf5e92553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 9 Nov 2003 00:48:40 +0000 Subject: [PATCH] krb5_free_ticket free the whole ticket git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13101 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_ticket.3 | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/krb5/krb5_ticket.3 b/lib/krb5/krb5_ticket.3 index 6ed9d1b3e..21b0de84e 100644 --- a/lib/krb5/krb5_ticket.3 +++ b/lib/krb5/krb5_ticket.3 @@ -31,7 +31,7 @@ .\" .\" $Id$ .\" -.Dd July 22, 2003 +.Dd November 9, 2003 .Dt KRB5_TICKET 3 .Os HEIMDAL .Sh NAME @@ -78,21 +78,23 @@ The internals of the structure should never be accessed directly, functions exist for extracting information. .Pp .Fn krb5_free_ticket -frees the contents of the -.Fa ticket . +frees the +.Fa ticket +and its content . +Used to free the result of +.Fn krb5_copy_ticket +and +.Fn krb5_recvauth . .Pp .Fn krb5_copy_ticket copies the content of the ticket .Fa from to the ticket .Fa to . -The content of +The result .Fa to should be freed with .Fn krb5_free_ticket . -.Fa to -itself should be freed with -.Xr free 3 . .Pp .Fn krb5_ticket_get_client and @@ -100,6 +102,5 @@ and returns a copy of the client/server principal from the ticket. The principal returned should be free using .Xr krb5_free_principal 3 . -.\" .Sh EXAMPLES .Sh SEE ALSO .Xr krb5 3