mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
gh-115498: Fix SET_COUNT
error handling in _xxinterpchannelsmodule
(#115499)
This commit is contained in:
parent
26f23daa1e
commit
fd2bb4be3d
1 changed files with 1 additions and 1 deletions
|
@ -2158,7 +2158,7 @@ new_channel_info(PyObject *mod, struct channel_info *info)
|
|||
do { \
|
||||
PyObject *obj = PyLong_FromLongLong(val); \
|
||||
if (obj == NULL) { \
|
||||
Py_CLEAR(info); \
|
||||
Py_CLEAR(self); \
|
||||
return NULL; \
|
||||
} \
|
||||
PyStructSequence_SET_ITEM(self, pos++, obj); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue