On Wed, 2003-06-18 at 16:17, Steven Carr wrote:
> Hello,
>        Im experiencing a memory leak problem with my Net::LDAP. It may be
> due to me not properly destroying the $ldap object? I checked previous
> mailings and tried to use the old suggstions.
> The code I used to test is attached at end of mail.

> Is $ldap->unbind; enough to destroy the object? Do I need to do something
> more?

No. You need $ldap->disconnect to disconnect from the server

However, I have just release 0.29 to CPAN which solves the reference
loop problem that Net::LDAP has suffered from for a long time.

Graham.


Reply via email to