add missing DECREF (thanks, Barry)

This commit is contained in:
Jeremy Hylton 2001-02-02 02:58:48 +00:00
parent 0c07b50811
commit bbf10b59d1
1 changed files with 1 additions and 0 deletions

View File

@ -4477,6 +4477,7 @@ symtable_update_cur(struct symtable *st)
Py_DECREF(d); Py_DECREF(d);
return -1; return -1;
} }
Py_DECREF(d);
if (st->st_cur_type == TYPE_FUNCTION) { if (st->st_cur_type == TYPE_FUNCTION) {
if ((l = PyList_New(0)) == NULL) if ((l = PyList_New(0)) == NULL)
return -1; return -1;