From: Jeremy Hylton Date: Fri, 2 Feb 2001 02:58:48 +0000 (+0000) Subject: add missing DECREF (thanks, Barry) X-Git-Tag: v2.1a2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbf10b59d1eb619bd683bccb433b4d1326287a07;p=python add missing DECREF (thanks, Barry) --- diff --git a/Python/compile.c b/Python/compile.c index 3dae4c85d0..3f12e419aa 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -4477,6 +4477,7 @@ symtable_update_cur(struct symtable *st) Py_DECREF(d); return -1; } + Py_DECREF(d); if (st->st_cur_type == TYPE_FUNCTION) { if ((l = PyList_New(0)) == NULL) return -1;