Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

Memory Concerns

The string returned in the parameter type must not be freed after calling this function. It will be freed when the structure Slapi_Filter is freed by calling slapi_filter_free() .