[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
memory leak in libldap when handling referral -- 2.1.8
- To: <openldap-software@OpenLDAP.org>
- Subject: memory leak in libldap when handling referral -- 2.1.8
- From: "Su Li" <sli@rim.net>
- Date: Wed, 30 Jul 2003 18:13:45 -0400
- Content-class: urn:content-classes:message
- Thread-index: AcNW5w/yukOSSuFxRsW1c4YxLEd4dwAAOvvw
- Thread-topic: limits of OpenLDAP
Hi,
My LDAP client is using Openldap liblber and libldap to connect to Opendldap server.
When handling referral, I saw libldap creates a new socket handle to the new LDAP server, but after server, libldap seems did not delete the referral socket or reuse the socket. So when I run memory leak checkor, it shows the memory leak is in:
ldap_connect_to_host [os-ip.c:360]
if ( ( err = getaddrinfo(host, serv, &hints, &res) ) ) {
osip_debug(ld, "ldap_connect_to_host: getaddrinfo failed
: %s\n",
AC_GAI_STRERROR(err), 0, 0);
return -1;
}
Does any one knows about this? Is there any solution to this memory leak?
Thanks,
Su Li