Free a Slapi_MatchingRuleEntry after registering the matching rule.
#include "slapi-plugin.h" void slapi_matchingrule_free(Slapi_MatchingRuleEntry **mrEntry, int freeMembers);
This function takes the following parameters:
Matching rule registration object
Whether to free the members of the Slapi_MatchingRuleEntry
If 0, do not free the members of the Slapi_MatchingRuleEntry.
This function frees memory allocated to a Slapi_MatchingRuleEntry after the structure has been used to register a matching rule.