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?
>
> ldap_unbind() frees the LDAP* struc
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?
ldap_unbind() frees the LDAP* structure after terminating the LDAP
session.
--
Hallvard
For sale: Parachute. Never
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