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

RE: Memory leak in ldap_initialize()

Title: RE: Memory leak in ldap_initialize()

Try making n connections and see if the memory leak grows.

From my experience, this is a static leak, and it will not grow.

-----Original Message-----
From: Yves Robin [mailto:yves@reefedge.com]
Sent: Tuesday, August 13, 2002 8:53 AM
To: Mailing list OpenLdap
Subject: Memory leak in ldap_initialize()
Importance: High

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.


Anything wrong with that ?
Should i free somehow else ?