From: Theodore Tso Date: Fri, 29 Mar 1991 16:38:41 +0000 (+0000) Subject: Documented change in krb5_rc_resolve now allocating memory X-Git-Tag: krb5-1.0-alpha4~3 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=95a72ae8aa42accc00e9bfec6e58900489a418db;p=krb5.git Documented change in krb5_rc_resolve now allocating memory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1974 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/doc/api/rcache.tex b/doc/api/rcache.tex index 8b2ad1a9c..7292ed005 100644 --- a/doc/api/rcache.tex +++ b/doc/api/rcache.tex @@ -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. diff --git a/doc/implement/rcache-i.tex b/doc/implement/rcache-i.tex index 8b2ad1a9c..7292ed005 100644 --- a/doc/implement/rcache-i.tex +++ b/doc/implement/rcache-i.tex @@ -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.