26.4. slapi_filter_free()
LDAP_FILTER_AND type filter.
This function frees the filter in parameter f.
#include "slapi-plugin.h" void slapi_filter_free( Slapi_Filter *f, int recurse );
This function takes the following parameters:
|
f
| Filter that you want to free. |
|
recurse
| If 1, recursively frees all filters that comprise this filter. If 0, only frees the filter specified by f. |
Filters created using slapi_str2filter() must be freed after using this function. Filters extracted from a pblock using slapi_pblock_get( pb,SLAPI_SEARCH_FILTER, &filter ) must not be freed.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.