slapi_entry_free()

slapi_entry_free() frees an entry, its DN, and its attributes from memory.

Syntax
#include "slapi-plugin.h"
void slapi_entry_free( Slapi_Entry *e );
Parameters
e
An entry that you want to free. If it is NULL, no action occurs.