Skip to content
Snippets Groups Projects
Commit 2549654b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add comment about leaked on exit values.... we likely should

implement an at_exit() handler.
parent 30522f74
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment