Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Memory Concerns

You should free the returned base type when you are finished by calling slapi_ch_free().