Commit e860089f authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-32226: Fix memory leak in generic_alias_dealloc() (#5212)

parent 7d91c025
......@@ -5064,6 +5064,7 @@ static void
generic_alias_dealloc(PyGenericAliasObject *self)
{
Py_CLEAR(self->item);
Py_TYPE(self)->tp_free((PyObject *)self);
}
static PyObject *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment