Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cpython
Commits
5e458f52
Commit
5e458f52
authored
13 years ago
by
Benjamin Peterson
Browse files
Options
Download
Email Patches
Plain Diff
also decref the right thing
parent
4c13a4a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Objects/unicodeobject.c
Objects/unicodeobject.c
+1
-1
No files found.
Objects/unicodeobject.c
View file @
5e458f52
...
...
@@ -9140,7 +9140,7 @@ PyUnicode_Count(PyObject *str,
return -1;
}
if (PyUnicode_READY(sub_obj) == -1 || PyUnicode_READY(str_obj) == -1) {
Py_DECREF(sub
str
);
Py_DECREF(sub
_obj
);
Py_DECREF(str_obj);
return -1;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment