From bf7d6b507cb0feeb17bc189a96ae36cf7cc6ce9b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 2 Feb 2000 21:26:57 +0000 Subject: [PATCH] Add comment about need for at_exit() handler --- libraries/libldap/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c index 98c387fb71..937092bc64 100644 --- a/libraries/libldap/init.c +++ b/libraries/libldap/init.c @@ -267,6 +267,8 @@ void openldap_ldap_initialize( void ) gopts.ldo_timelimit = LDAP_NO_LIMIT; gopts.ldo_sizelimit = LDAP_NO_LIMIT; + /* we leak this string... we should have an at_exit() + * handler to free this */ gopts.ldo_defhost = ldap_strdup("localhost"); gopts.ldo_defport = LDAP_PORT; -- 2.47.2