Hi,
I have detected some memory leaks in Modules/ldapcontrol.c: some BER data was not being correctly freed after it was used to create a Python object.
The leaks are not big, but we have a long-running daemon using python-ldap where the leaks add up significantly.
I have attached a patch that fixes this.
Best regards,
Erik Cumps
Thanks! Committed your patch to CVS HEAD. Will be released soon with 2.4.40.