aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-10 21:52:38 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-10 21:52:38 +0000
commit412bbd6c82cd6efe30e3af4538b7677f5ce911bc (patch)
tree95b8fdac502a86cb228ac19b75ea0affff67f7fd /gdb/mi
parent76bd6e0b6e6079d4da328e7fc8eec3897703b4af (diff)
downloadgdb-412bbd6c82cd6efe30e3af4538b7677f5ce911bc.zip
gdb-412bbd6c82cd6efe30e3af4538b7677f5ce911bc.tar.gz
gdb-412bbd6c82cd6efe30e3af4538b7677f5ce911bc.tar.bz2
2007-08-10 Michael Snyder <msnyder@access-company.com>
* mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 9c5aeb9..377852e 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -691,6 +691,7 @@ mi_cmd_data_evaluate_expression (char *command, char **argv, int argc)
if (argc != 1)
{
mi_error_message = xstrprintf ("mi_cmd_data_evaluate_expression: Usage: -data-evaluate-expression expression");
+ ui_out_stream_delete (stb);
return MI_CMD_ERROR;
}