Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d0f09b

Browse filesBrowse files
gh-101765: unicodeobject: use Py_XDECREF correctly (#102283)
1 parent 6daf42b commit 8d0f09b
Copy full SHA for 8d0f09b

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Objects/unicodeobject.c

Copy file name to clipboardExpand all lines: Objects/unicodeobject.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14795,7 +14795,7 @@ unicodeiter_reduce(unicodeiterobject *it, PyObject *Py_UNUSED(ignored))
1479514795
} else {
1479614796
PyObject *u = unicode_new_empty();
1479714797
if (u == NULL) {
14798-
Py_DECREF(iter);
14798+
Py_XDECREF(iter);
1479914799
return NULL;
1480014800
}
1480114801
return Py_BuildValue("N(N)", iter, u);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.