bpo-44676: Fix reference leaks in union_reduce (GH-27332)
Automerge-Triggered-By: GH:pablogsal
This commit is contained in:
parent
0828423127
commit
8158e059e9
@ -371,7 +371,7 @@ union_reduce(PyObject *self, PyObject *Py_UNUSED(ignored))
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return Py_BuildValue("O(O)", from_args, alias->args);
|
||||
return Py_BuildValue("N(O)", from_args, alias->args);
|
||||
}
|
||||
|
||||
static PyMemberDef union_members[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user