From: hno <> Date: Sun, 11 Aug 2002 07:54:59 +0000 (+0000) Subject: The new LDAP API uses it's own versions of free(), not the standard C X-Git-Tag: SQUID_3_0_PRE1~854 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f64c86a953e525040b17d5601404da0b7d6eab2;p=thirdparty%2Fsquid.git The new LDAP API uses it's own versions of free(), not the standard C functions like the old LDAP API.. --- diff --git a/helpers/basic_auth/LDAP/squid_ldap_auth.c b/helpers/basic_auth/LDAP/squid_ldap_auth.c index 2801ff4fdb..2958c99403 100644 --- a/helpers/basic_auth/LDAP/squid_ldap_auth.c +++ b/helpers/basic_auth/LDAP/squid_ldap_auth.c @@ -394,7 +394,7 @@ checkLDAP(LDAP * ld, char *userid, char *password) return 1; } snprintf(dn, sizeof(dn), "%s", userdn); - free(userdn); + squid_ldap_memfree(userdn); ldap_msgfree(res); } else { snprintf(dn, sizeof(dn), "%s=%s,%s", userattr, userid, basedn);