]> granicus.if.org Git - python/commit
bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)
authorVictor Stinner <vstinner@redhat.com>
Sat, 23 Jun 2018 08:35:23 +0000 (10:35 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Jun 2018 08:35:23 +0000 (10:35 +0200)
commit9b7cf757213cf4d7ae1d436d86ad53f5ba362d55
tree142983943c87abd96321b5ec83873c8a16fda1bf
parent44742e94c809d580fa406f9d21b86e1d4e1938a5
bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)

bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.
Misc/NEWS.d/next/Library/2018-06-21-11-35-47.bpo-33916.cZgPCD.rst [new file with mode: 0644]
Modules/_bz2module.c
Modules/_lzmamodule.c