From: Hallvard Furuseth Date: Tue, 22 Jul 2003 18:30:59 +0000 (+0000) Subject: ldap_msgfree() can take a result chain, not just a single result. X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~815 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7c5d23dd05a935b94d8f9e71422d39ad8da4778c;p=openldap ldap_msgfree() can take a result chain, not just a single result. --- diff --git a/doc/man/man3/ldap_result.3 b/doc/man/man3/ldap_result.3 index 61bbfbee2e..1932aeedb6 100644 --- a/doc/man/man3/ldap_result.3 +++ b/doc/man/man3/ldap_result.3 @@ -96,13 +96,14 @@ The possible result types returned are: The .B ldap_msgfree() routine is used to free the memory allocated for -a result by +result(s) by .B ldap_result() or .BR ldap_search_s (3) -and friends. It takes -a pointer to the result to be freed and returns the type of the -message it freed. +and friends. +It takes a pointer to the result or result chain to be freed and returns +the type of the last message in the chain. +If the parameter is NULL, the function does nothing and returns zero. .LP The .B ldap_msgtype()