]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)
authorZackery Spytz <zspytz@gmail.com>
Thu, 20 Dec 2018 08:29:38 +0000 (01:29 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 20 Dec 2018 08:29:38 +0000 (10:29 +0200)
commitd77d97c9a1f593fe161afab97e2a3e2292ab88b9
tree0b4d8db89f9cd5ccd0b2eccf7f96a44fb6c88f07
parentb13a20f50789e153c18ed8efb4fbc5eecc50f2cd
bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)

"dll" would leak if an error occurred in _validate_paramflags() or
GenericPyCData_new().
Modules/_ctypes/_ctypes.c