I wrote: > LDAPAPI already has ldap_values_free() to free a malloced array of > null-terminated strings. Oops, that should be "malloced NULL-terminated array of strings". -- Hallvard