32.2. slapi_matchingrule_free()

This function frees a Slapi_MatchingRuleEntry structure (and, optionally, its members) from memory. Call this function when you are done working with the structure.
Syntax

#include "slapi-plugin.h"
void slapi_matchingrule_free(Slapi_MatchingRuleEntry **mrEntry, int freeMembers);

Parameters

This function takes the following parameters:

mrEntry
The Slapi_MatchingRuleEntry structure that you want to free from memory.
freeMembers
If 1, the function also frees the members of the structure from memory.