mirror of
https://github.com/python/cpython.git
synced 2025-10-15 11:22:18 +00:00
bpo-44676: Fix reference leaks in union_reduce (GH-27332)
Automerge-Triggered-By: GH:pablogsal
This commit is contained in:
parent
0828423127
commit
8158e059e9
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ union_reduce(PyObject *self, PyObject *Py_UNUSED(ignored))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Py_BuildValue("O(O)", from_args, alias->args);
|
return Py_BuildValue("N(O)", from_args, alias->args);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyMemberDef union_members[] = {
|
static PyMemberDef union_members[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue