diff options
Diffstat (limited to 'gdb/python/py-block.c')
-rw-r--r-- | gdb/python/py-block.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-block.c b/gdb/python/py-block.c index 5fc33f0..f5870c6 100644 --- a/gdb/python/py-block.c +++ b/gdb/python/py-block.c @@ -110,7 +110,7 @@ blpy_get_start (PyObject *self, void *closure) BLPY_REQUIRE_VALID (self, block); - return gdb_py_object_from_ulongest (BLOCK_START (block)); + return gdb_py_object_from_ulongest (BLOCK_START (block)).release (); } static PyObject * @@ -120,7 +120,7 @@ blpy_get_end (PyObject *self, void *closure) BLPY_REQUIRE_VALID (self, block); - return gdb_py_object_from_ulongest (BLOCK_END (block)); + return gdb_py_object_from_ulongest (BLOCK_END (block)).release (); } static PyObject * |