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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2731ae4d6dbf887c698ba7e62590a4f27df62bb9;p=python Fix missing return value. Spotted by Neal Norwitz --- diff --git a/Objects/listobject.c b/Objects/listobject.c index 6651966282..3a842294d1 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; )