diff options
author | Petr Viktorin <pviktori@redhat.com> | 2015-03-03 22:29:10 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-03-03 23:20:06 +0100 |
commit | d599dcb6bcac3b7b1600694be38937db0e8719b7 (patch) | |
tree | a13f8f60c2b33f305f4ad5391917f213617c9dcb /python/samba/tests/docs.py | |
parent | 359e86af28719fd84e3b15cfb709536132dc2c14 (diff) | |
download | samba-d599dcb6bcac3b7b1600694be38937db0e8719b7.tar.gz samba-d599dcb6bcac3b7b1600694be38937db0e8719b7.tar.xz samba-d599dcb6bcac3b7b1600694be38937db0e8719b7.zip |
pyldb: Fix reference leaks
The parse_ldif and MessageElement.__iter__ functions leaked references
to intermediate lists whose iterators they return.
The MessageElement repr used the undocumented macro PyObject_REPR, which
leaks references. (It was used internally in CPython before fatal errors,
and will be removed in Python 3.5.)
Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/tests/docs.py')
0 files changed, 0 insertions, 0 deletions