New submission from Serhiy Storchaka: If restore_error == 1 in PyObject_ClearWeakRefs() (Objects/weakrefobject.c:883) and PyTuple_New() fails in Objects/weakrefobject.c:923, PyErr_Fetch is called twice and both exceptions leak.
---------- components: Extension Modules messages: 239320 nosy: fdrake, haypo, pitrou, serhiy.storchaka priority: normal severity: normal status: open title: Leak in PyObject_ClearWeakRefs type: resource usage _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue23783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
