From 7c5d23dd05a935b94d8f9e71422d39ad8da4778c Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 22 Jul 2003 18:30:59 +0000 Subject: [PATCH] ldap_msgfree() can take a result chain, not just a single result. --- doc/man/man3/ldap_result.3 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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() -- 2.39.5