mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-32226: Fix memory leak in generic_alias_dealloc() (#5212)
This commit is contained in:
parent
7d91c02504
commit
e860089fd9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue