quanah / net-ldapapi

The Net::LDAPapi Perl Module uses the OpenLDAP and Mozilla C api's to directly access and manipulate an LDAP v2 or LDAP v3 server.
8 stars 6 forks source link

Some memory cleanup #52

Closed hyc closed 4 years ago

hyc commented 4 years ago

Only plugs a couple of small leaks, more remain. The big problem is in passing complex structures like LDAPmessages and Controls back to the caller - the current code only replaces the outer C structure with perl structures, but doesn't tell perl anything about the other sub-structures inside. Those are still leaking.

Partially fixes #51