[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: ldap-c-api: malloced vs. "ldap alloced" data



I wrote:
> Maybe.  Let's see what our chiefs say about (a) if we should
> ldap_memfree() the attribute name, (b) if we may modify the return
> values (if so they can't be shared with anything else) and (c) if the
> returned attribute names may die when their parent LDAPMessage dies.

Sorry, I confused it with another subject.  No attribute types there;
this one depends on if the returned strings from ldap_get_values can be
overwritten or if they die with the LDAPMessage.

-- 
Hallvard