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

Memory Concerns

You should free this string using slapi_ch_free().