Try making n connections and see if the memory leak grows.
From my experience, this is a static leak, and it will not grow.
From: Yves Robin [mailto:email@example.com]
Sent: Tuesday, August 13, 2002 8:53 AM
To: Mailing list OpenLdap
Subject: Memory leak in ldap_initialize()
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 ?