ldapMsgFree(3ibx) — Subroutines
NAME
ldapMsgFree − Frees the memory used to store the chain of directory entries.
SYNOPSIS
#include <libldap.h>
int ldapMsgFree(LDAPM_t ∗entry_chain);
INPUT PARAMETER
entry_chainA chain of directory entries initialized by a call to the ldapSearchReqst, the ldapSearchReqstLim, the ldapSearchW, or the ldapSearchWLim function.
DESCRIPTION
When you are finished reading all the directory entries and their attribute values in entry_chain (the last entry in the chain is NULL), then use the ldapMsgFree function to release the entry chain’s memory.
RETURNS
One of the LDAP standard return values: LDAP_message.
RELATED INFORMATION
Functions: ldapFirstEntry(3), ldapNextEntry(3).