mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-26 00:46:13 +08:00
* python/py-prettyprint.c (search_pp_list): Decref 'attr'.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* python/py-prettyprint.c (search_pp_list): Decref 'attr'.
|
||||||
|
|
||||||
2013-05-20 Tom Tromey <tromey@redhat.com>
|
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* python/py-value.c (valpy_get_dynamic_type): Simplify
|
* python/py-value.c (valpy_get_dynamic_type): Simplify
|
||||||
|
@ -69,6 +69,7 @@ search_pp_list (PyObject *list, PyObject *value)
|
|||||||
if (!attr)
|
if (!attr)
|
||||||
return NULL;
|
return NULL;
|
||||||
cmp = PyObject_IsTrue (attr);
|
cmp = PyObject_IsTrue (attr);
|
||||||
|
Py_DECREF (attr);
|
||||||
if (cmp == -1)
|
if (cmp == -1)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user