Documented change in krb5_rc_resolve now allocating memory
authorTheodore Tso <tytso@mit.edu>
Fri, 29 Mar 1991 16:38:41 +0000 (16:38 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 29 Mar 1991 16:38:41 +0000 (16:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1974 dc483132-0cff-0310-8789-dd5450dbe970

doc/api/rcache.tex
doc/implement/rcache-i.tex

index 8b2ad1a9c471bb7594a5c7cf296782354977f25e..7292ed005b19b23456e10cf9530fb11461986c5c 100644 (file)
@@ -91,6 +91,11 @@ be called before the other per-replay cache functions.
 Requires that \funcparam{id} points to allocated space, with an
 initialized \funcparam{id{\ptsto}ops} field.
 
+Since \funcname{krb5_rc_resolve} allocates memory,
+\funcname{krb5_rc_close} must be called to free the allocated memory,
+even if neither \funcname{krb5_rc_initialize} or
+\funcname{krb5_rc_recover} were successfully called by the application.
+
 Returns:  allocation errors.
 
 
index 8b2ad1a9c471bb7594a5c7cf296782354977f25e..7292ed005b19b23456e10cf9530fb11461986c5c 100644 (file)
@@ -91,6 +91,11 @@ be called before the other per-replay cache functions.
 Requires that \funcparam{id} points to allocated space, with an
 initialized \funcparam{id{\ptsto}ops} field.
 
+Since \funcname{krb5_rc_resolve} allocates memory,
+\funcname{krb5_rc_close} must be called to free the allocated memory,
+even if neither \funcname{krb5_rc_initialize} or
+\funcname{krb5_rc_recover} were successfully called by the application.
+
 Returns:  allocation errors.