Full_Name: Erik Lax
Submission from: (NULL) (22.214.171.124)
It's possible to set the flag LDAP_AVA_FREE_VALUE to clear ber values on the
LDAPAVA structure in ldapava_free() but it's not possible to set the
LDAP_AVA_FREE_ATTR to clear attributes. I suspect OpenLDAP internals does not
need to free attributes in this way (hence the missing code).
Attribute Types are usually constant strings, so right, there should be no need to free
I'm building a custom LDAPAVA (LDAPDN) object and it would be
useful to be able
to set this flags to have it properly clean up both values and attributes in
It would be better to simply avoid the need to free them.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/