aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r--gdb/python/py-value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c
index 26e91ff..fe2adcc 100644
--- a/gdb/python/py-value.c
+++ b/gdb/python/py-value.c
@@ -1516,9 +1516,9 @@ valpy_int (PyObject *self)
END_CATCH
if (TYPE_UNSIGNED (type))
- return gdb_py_object_from_ulongest (l);
+ return gdb_py_object_from_ulongest (l).release ();
else
- return gdb_py_object_from_longest (l);
+ return gdb_py_object_from_longest (l).release ();
}
#endif