]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Add comment about need for at_exit() handler
authorKurt Zeilenga <kurt@openldap.org>
Wed, 2 Feb 2000 21:26:57 +0000 (21:26 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 2 Feb 2000 21:26:57 +0000 (21:26 +0000)
libraries/libldap/init.c

index 98c387fb71dc481c0bdf6b1217d1157f7b1f5041..937092bc64bd640cf6b1ebb696b3da9c2e6cfe3e 100644 (file)
@@ -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;