Commit 2731ae4d authored by Raymond Hettinger's avatar Raymond Hettinger

Fix missing return value. Spotted by Neal Norwitz

parent 601b963b
......@@ -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; )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment