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

memery leak when handle referral (ITS#2670)



Full_Name: Su Li
Version: 2.1.8
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (206.51.26.109)


Memory leak on the following line when handling referrals:

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;
}