Skip to content

Commit d574135

Browse files
committed
fix segfault
1 parent fd66205 commit d574135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/lib-rt/bytes_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ PyObject *CPyBytes_Join(PyObject *sep, PyObject *iter) {
105105
} else {
106106
if (join_id_unicode == NULL) {
107107
_Py_IDENTIFIER(join);
108-
PyObject *join_id_unicode = _PyUnicode_FromId(&PyId_join); /* borrowed */
108+
join_id_unicode = _PyUnicode_FromId(&PyId_join); /* borrowed */
109109
if (join_id_unicode == NULL) {
110110
return NULL;
111111
}

0 commit comments

Comments
 (0)