]> granicus.if.org Git - python/commit
[3.8] bpo-38150: Fix refleak in the finalizer of a _testcapimodule type (GH-16115...
authorStéphane Wirtel <stephane@wirtel.be>
Fri, 13 Sep 2019 17:10:53 +0000 (18:10 +0100)
committerGitHub <noreply@github.com>
Fri, 13 Sep 2019 17:10:53 +0000 (18:10 +0100)
commit53ff2ca89feb90c1fbf2605321bcef35b457f16f
tree8f16ef543a3d770485ca160d34a529bfdc580e19
parent436b429ade87b10879b3f944e99a515478e86e5e
[3.8] bpo-38150: Fix refleak in the finalizer of a _testcapimodule type (GH-16115) (GH-16118)

The PyLong created in the finalizer was not being cleaned up

https://bugs.python.org/issue38150

Automerge-Triggered-By: @matrixise
(cherry picked from commit a67ac2f2d9550e5a36d28f9b6eeacf6575dda2d5)

Co-authored-by: Eddie Elizondo <eelizondo@fb.com>
Modules/_testcapimodule.c