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

when to use ldap_msgfree?



Hi,


I need some help with the libldap, guess someone can help me.
* When I issue two ldap_search_s calls in sequence, consume all their
results between the two calls and use the same result pointer, is it
necessary to call ldap_msgfree on this pointer before the second
ldap_search_s?
* When I issue an ldap_search_s, go with the result pointer to
ldap_first_entry collecting the return value in a pointer named entry and
then, after comsuming the result, call ldap_msgfree on entry, has this any
effect on the result pointer?


Thanks,
Wolfgang



Dipl. Ing. Wolfgang Hottgenroth
Systems Engineering                    UUNET Europe, Middle East & Africa
Tel: +49 231 972 1231                  Sebrathweg 20
Fax: +49 231 972 1180                  44149 Dortmund
mailto: who@de.uu.net                  http://www.uunet.de