[issue35529] A reference counting bug in ctypes

Zackery Spytz report at bugs.python.org
Tue Dec 18 18:44:22 EST 2018


New submission from Zackery Spytz <zspytz at gmail.com>:

In PyCFuncPtr_FromDll(), "dll" will leak if an error occurs in _validate_paramflags() or GenericPyCData_new().

----------
components: Extension Modules, ctypes
messages: 332101
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: A reference counting bug in ctypes
type: behavior
versions: Python 2.7, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35529>
_______________________________________


More information about the Python-bugs-list mailing list