mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 05:43:01 -05:00
Add comment about leaked on exit values.... we likely should
implement an at_exit() handler.
This commit is contained in:
parent
30522f7437
commit
2549654bb5
1 changed files with 3 additions and 0 deletions
|
|
@ -360,6 +360,9 @@ void ldap_int_initialize( void )
|
|||
gopts.ldo_tm_api = (struct timeval *)NULL;
|
||||
gopts.ldo_tm_net = (struct timeval *)NULL;
|
||||
|
||||
/* ldo_defludp is leaked, we should have an at_exit() handler
|
||||
* to free this and whatever else needs to cleaned up.
|
||||
*/
|
||||
ldap_url_parselist(&gopts.ldo_defludp, "ldap://localhost/");
|
||||
gopts.ldo_defport = LDAP_PORT;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue