diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-02 02:58:48 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-02 02:58:48 +0000 |
commit | 359972aa2d3c1881a98ad08d1686469641bb6da9 (patch) | |
tree | c82f3466619c211eb1083964b4858d389e99422a /Python/compile.c | |
parent | 6eadcde4c10c5743263832a2a75812f9af731fad (diff) | |
download | cpython-359972aa2d3c1881a98ad08d1686469641bb6da9.tar.gz |
add missing DECREF (thanks, Barry)
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |