Fix missing return value. Spotted by Neal Norwitz

This commit is contained in:
Raymond Hettinger 2004-02-14 03:07:21 +00:00
parent 601b963be0
commit 2731ae4d6d
1 changed files with 1 additions and 0 deletions

View File

@ -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; )