[PATCH] Plug two leaks in python-ldap
delphij at delphij.net
Tue Apr 4 12:22:27 CEST 2006
在 2006-04-04二的 12:16 +0200，Michael Ströder写道：
> Thanks for submitting the patch.
> Do you have Python code demonstrating the leak?
By searching a non-existent entry DN from LDAP server, it would end up
with the error path and got the leak.
> Do you add the ldap_msgfree(msg) because LDAPmessage_to_python() is not
> called in these error cases?
Yes. It takes me some minutes to figure out that the ldap message was
actually free'ed by LDAPmessage_to_python() in the usual path :-)
> > BTW. Is there any plan to release a new version soon?
> I could release a new version very soon. (Despite that SF sucks and
> again I can't contact the CVS repository via SSH at the moment.)
> Note that as already stated in CVS version of CHANGES upcoming
> python-ldap 2.2.0 will require OpenLDAP libs 2.2.x or later for the build.
Glad to hear that :-) Thanks!
Xin LI <delphij delphij net> http://www.delphij.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
More information about the python-ldap