[python-ldap] Memory leak fixes.

Chris Mikkelson cmikk at qwest.net
Tue Oct 25 22:21:57 CEST 2011


Two patches attached.

The first cleans up a previously-leaked object in a few
exception cases.

The second fixes a leak of an empty list for every
intermediate message, which was causing trouble in
a long-running ldap sync client.

-- 
Chris Mikkelson  | That is a form of errant pedantry up with which
cmikk at qwest.net  | I will not put. 
                 |                      -- Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-cases-where-references-were-not-being-decremen.patch
Type: text/x-diff
Size: 1714 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20111025/5fce3875/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fixed-a-leak-of-PyList-objects.patch
Type: text/x-diff
Size: 1084 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20111025/5fce3875/attachment-0001.patch>


More information about the python-ldap mailing list