From: Raymond Hettinger Date: Sat, 14 Feb 2004 03:07:21 +0000 (+0000) Subject: Fix missing return value. Spotted by Neal Norwitz X-Git-Tag: v2.4a1~818 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2731ae4d6dbf887c698ba7e62590a4f27df62bb9;p=thirdparty%2FPython%2Fcpython.git Fix missing return value. Spotted by Neal Norwitz --- diff --git a/Objects/listobject.c b/Objects/listobject.c index 66519662821f..3a842294d13c 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -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; )