mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Add comment about need for at_exit() handler
This commit is contained in:
parent
1399c79f7f
commit
bf7d6b507c
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue