mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
* python/py-type.c (typy_fields): Unconditionally decref 'r'.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* python/py-type.c (typy_fields): Unconditionally decref 'r'.
|
||||||
|
|
||||||
2013-05-20 Tom Tromey <tromey@redhat.com>
|
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* python/py-frame.c (frapy_older, frapy_newer, gdbpy_newest_frame)
|
* python/py-frame.c (frapy_older, frapy_newer, gdbpy_newest_frame)
|
||||||
|
@ -379,10 +379,7 @@ typy_fields (PyObject *self, PyObject *args)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
rl = Py_BuildValue ("[O]", r);
|
rl = Py_BuildValue ("[O]", r);
|
||||||
if (rl == NULL)
|
Py_DECREF (r);
|
||||||
{
|
|
||||||
Py_DECREF (r);
|
|
||||||
}
|
|
||||||
|
|
||||||
return rl;
|
return rl;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user