mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix missing return value. Spotted by Neal Norwitz
This commit is contained in:
parent
601b963be0
commit
2731ae4d6d
1 changed files with 1 additions and 0 deletions
|
|
@ -525,6 +525,7 @@ list_ass_slice(PyListObject *a, int ilow, int ihigh, PyObject *v)
|
|||
if (list_resize(a, s+d) == -1) {
|
||||
if (recycle != NULL)
|
||||
PyMem_DEL(recycle);
|
||||
return -1;
|
||||
}
|
||||
item = a->ob_item;
|
||||
for (k = s; --k >= ihigh; )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue