aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-mi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-mi.c')
-rw-r--r--gdb/python/py-mi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-mi.c b/gdb/python/py-mi.c
index 8b26568..36a55e4 100644
--- a/gdb/python/py-mi.c
+++ b/gdb/python/py-mi.c
@@ -173,7 +173,7 @@ gdbpy_execute_mi_command (PyObject *self, PyObject *args, PyObject *kw)
return nullptr;
}
- return uiout.result ();
+ return uiout.result ().release ();
}
/* Convert KEY_OBJ into a string that can be used as a field name in MI