]> granicus.if.org Git - python/commitdiff
add missing DECREF (thanks, Barry)
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 2 Feb 2001 02:58:48 +0000 (02:58 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 2 Feb 2001 02:58:48 +0000 (02:58 +0000)
Python/compile.c

index 3dae4c85d0cd0a939bfe8c1a1be01dc8268b3459..3f12e419aa105689ab3ce1153007e6a7a1eae982 100644 (file)
@@ -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;