These routines are used to allocate/deallocate memory used/returned
by the LDAP library.
ldap_memfree() are used exactly like the standard
ldap_memvfree() routine is used to free a dynamically allocated array of pointers to
arbitrary dynamically allocated objects.
ldap_strdup() routine is used exactly like the standard