Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Memory Concerns

You must free the DN returned using slapi_ch_free_string() .