Frees an entry, its DN, and its attributes from memory.
#include "slapi-plugin.h" void slapi_entry_free( Slapi_Entry *e );
This function takes the following parameter:
Entry that you want to free. If NULL, no action occurs.
Call this function to free an entry that you have allocated by using the slapi_entry_alloc() function or the slapi_entry_dup() function.
To free entries, always use this function, as opposed to using slapi_ch_free(), or free().