diff options
Diffstat (limited to 'gdb/python/py-symbol.c')
-rw-r--r-- | gdb/python/py-symbol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 647c54b0a5b..b112ce115f1 100644 --- a/gdb/python/py-symbol.c +++ b/gdb/python/py-symbol.c @@ -357,6 +357,7 @@ sympy_dealloc (PyObject *obj) if (sym_obj->next) sym_obj->next->prev = sym_obj->prev; sym_obj->symbol = NULL; + Py_TYPE (obj)->tp_free (obj); } /* Implementation of |