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

Memory leak in ldap_initialize()



Hi all,

I'm facing a memory leak just when trying to bind and unbind to an openldap
server. Since ldap_initialize allocate a new ld structure, unbind is
supposed to free it, right ? Since ldap_initialize is not documented (right
?), it's difficult to be sure...

I'm using openldap 2.0.11 library.

ldap_initialize()
ldap_bind_s()
ldap_unbind()

Anything wrong with that ?
Should i free somehow else ?

Thanks.

Yves