]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Jul 2021 05:44:08 +0000 (22:44 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Jul 2021 05:44:08 +0000 (22:44 -0700)
commit94adfe6e2cdc9ba715b6d7068d8bd521ba6bf30b
tree9dcfe95b57534bb572b522a52e68cd7dcafb9ccd
parentfe73509c5ba3844b45a2253967522531ab80c849
bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107)

if it is called with a sequence or set, but not list or tuple.
(cherry picked from commit f572cbf1faab33d9afbbe3e95738ed6fbe6e48e6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_tcl.py
Misc/NEWS.d/next/Library/2021-07-13-09-01-33.bpo-44608.R3IcM1.rst [new file with mode: 0644]
Modules/_tkinter.c