From: Jeremy Hylton Date: Tue, 21 Oct 2003 18:15:44 +0000 (+0000) Subject: Backport removal of bogus Py_DECREF() and indentation fix. X-Git-Tag: v2.3.3c1~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e39d5755d480491109978fb264ee777fa932d8f;p=thirdparty%2FPython%2Fcpython.git Backport removal of bogus Py_DECREF() and indentation fix. --- diff --git a/Objects/frameobject.c b/Objects/frameobject.c index bdff3c41ddd9..99defb939fd1 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -744,11 +744,10 @@ PyFrame_FastToLocals(PyFrameObject *f) if (j > f->f_nlocals) j = f->f_nlocals; if (f->f_nlocals) - map_to_dict(map, j, locals, fast, 0); + map_to_dict(map, j, locals, fast, 0); if (f->f_ncells || f->f_nfreevars) { if (!(PyTuple_Check(f->f_code->co_cellvars) && PyTuple_Check(f->f_code->co_freevars))) { - Py_DECREF(locals); return; } map_to_dict(f->f_code->co_cellvars,