mirror of https://github.com/python/cpython
bpo-32226: Fix memory leak in generic_alias_dealloc() (#5212)
This commit is contained in:
parent
7d91c02504
commit
e860089fd9
|
@ -5064,6 +5064,7 @@ static void
|
|||
generic_alias_dealloc(PyGenericAliasObject *self)
|
||||
{
|
||||
Py_CLEAR(self->item);
|
||||
Py_TYPE(self)->tp_free((PyObject *)self);
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Reference in New Issue