From 1572dbcd07cfb6532c31e86f2fa3964c2d5d0af1 Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Wed, 10 Nov 1993 18:37:00 +0000 Subject: [PATCH] free functions accept NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2861 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/kadm5/api-funcspec.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/kadm5/api-funcspec.tex b/doc/kadm5/api-funcspec.tex index aa7c69062..4b23dd951 100644 --- a/doc/kadm5/api-funcspec.tex +++ b/doc/kadm5/api-funcspec.tex @@ -1202,7 +1202,8 @@ void ovsec_kadm_free_principal_ent(ovsec_kadm_principal_ent_t); \end{verbatim} Free the memory that was allocated by a call to -ovsec_kadm_get_principal. +ovsec_kadm_get_principal. If the argument is NULL, the function +returns succesfully. AUTHORIZATION REQUIRED: none (local operation) @@ -1210,7 +1211,8 @@ AUTHORIZATION REQUIRED: none (local operation) void ovsec_kadm_free_policy_ent(ovsec_kadm_policy_ent_t); \end{verbatim} -Free memory that was allocated by a call to ovsec_kadm_get_policy. +Free memory that was allocated by a call to ovsec_kadm_get_policy. If +the argument is NULL, the function returns succesfully. AUTHORIZATION REQUIRED: none (local operation) -- 2.26.2