From 8f64c86a953e525040b17d5601404da0b7d6eab2 Mon Sep 17 00:00:00 2001 From: hno <> Date: Sun, 11 Aug 2002 07:54:59 +0000 Subject: [PATCH] The new LDAP API uses it's own versions of free(), not the standard C functions like the old LDAP API.. --- helpers/basic_auth/LDAP/squid_ldap_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3