aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-type.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-type.c')
-rw-r--r--gdb/python/py-type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c
index 335342e..29b2629 100644
--- a/gdb/python/py-type.c
+++ b/gdb/python/py-type.c
@@ -246,6 +246,7 @@ typy_fields (PyObject *self, PyObject *args)
Py_DECREF (result);
return NULL;
}
+ Py_DECREF (dict);
}
return result;