Re: cleanup after ldap_init(), use free?

2005-07-15 Thread Eric Haszlakiewicz
On Fri, Jul 15, 2005 at 09:58:16AM +0200, Hallvard B Furuseth wrote: > Eric Haszlakiewicz writes: > > The ldap_init() man page doesn't say anything about this, so I'm just > > guessing here: should I use free() to free the value that ldap_init() > > returns? &g

cleanup after ldap_init(), use free?

2005-07-13 Thread Eric Haszlakiewicz
The ldap_init() man page doesn't say anything about this, so I'm just guessing here: should I use free() to free the value that ldap_init() returns? There doesn't seem to be a ldap_free() or ldap_close() function. eric