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

Memory Concerns

Free the entry from memory by using slapi_entry_free() if the entry was allocated by the user.