mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +08:00
* python/py-type.c (typy_fields): Unconditionally decref 'r'.
This commit is contained in:
@ -379,10 +379,7 @@ typy_fields (PyObject *self, PyObject *args)
|
||||
return NULL;
|
||||
|
||||
rl = Py_BuildValue ("[O]", r);
|
||||
if (rl == NULL)
|
||||
{
|
||||
Py_DECREF (r);
|
||||
}
|
||||
Py_DECREF (r);
|
||||
|
||||
return rl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user