diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-02 02:58:48 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-02 02:58:48 (GMT) |
commit | bbf10b59d1eb619bd683bccb433b4d1326287a07 (patch) | |
tree | df82ea04d03824f3231660cc1160102b14b24749 /Python | |
parent | 0c07b5081164555ffe5393bff51f0638aeb7da34 (diff) | |
download | cpython-bbf10b59d1eb619bd683bccb433b4d1326287a07.zip cpython-bbf10b59d1eb619bd683bccb433b4d1326287a07.tar.gz cpython-bbf10b59d1eb619bd683bccb433b4d1326287a07.tar.bz2 |
add missing DECREF (thanks, Barry)
Diffstat (limited to 'Python')
-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 3dae4c8..3f12e41 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; |