Skip to content

Commit 8158e05

Browse files
authored
bpo-44676: Fix reference leaks in union_reduce (pythonGH-27332)
Automerge-Triggered-By: GH:pablogsal
1 parent 0828423 commit 8158e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/unionobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ union_reduce(PyObject *self, PyObject *Py_UNUSED(ignored))
371371
return NULL;
372372
}
373373

374-
return Py_BuildValue("O(O)", from_args, alias->args);
374+
return Py_BuildValue("N(O)", from_args, alias->args);
375375
}
376376

377377
static PyMemberDef union_members[] = {

0 commit comments

Comments
 (0)