]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 18 Oct 2018 06:49:54 +0000 (09:49 +0300)
committerGitHub <noreply@github.com>
Thu, 18 Oct 2018 06:49:54 +0000 (09:49 +0300)
commit6f906b3d727d6b341abd5ad9c0652bbcbd5eb024
treeaa3396ba6ac0e2d97162137235436ba126ce3057
parent9d4712bc8f26bf1d7e626b53ab092fe030bcd68d
bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924)

C implementation of xml.etree.ElementTree.Element.__setstate__()
leaked references to children when called for already initialized
element.
Lib/test/test_xml_etree_c.py
Misc/NEWS.d/next/Library/2018-10-17-11-54-04.bpo-35008.dotef_.rst [new file with mode: 0644]
Modules/_elementtree.c