summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_xxinterpchannelsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_xxinterpchannelsmodule.c b/Modules/_xxinterpchannelsmodule.c
index a2974ac..82d2ae7 100644
--- a/Modules/_xxinterpchannelsmodule.c
+++ b/Modules/_xxinterpchannelsmodule.c
@@ -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); \