mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
add missing DECREF (thanks, Barry)
This commit is contained in:
parent
0c07b50811
commit
bbf10b59d1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue