Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
6.0.0
-
None
Description
The CPagedLDAPSearch::requestNextPage is somewhat complex with respect to managing memory returned from several LDAP calls. Instead of remembering to free the memory on exit, on error, and on exceptions, better to encapsulate the pointers in a local class that deletes the memory when destructed