New submission from Zackery Spytz <zsp...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue35529> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com