aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-out.c')
-rw-r--r--gdb/tui/tui-out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c
index 0232370..4856562 100644
--- a/gdb/tui/tui-out.c
+++ b/gdb/tui/tui-out.c
@@ -147,7 +147,7 @@ tui_out_new (struct ui_file *stream)
{
int flags = 0;
- tui_out_data *data = XNEW (tui_out_data);
+ tui_out_data *data = new tui_out_data ();
/* Initialize base "class". */
cli_out_data_ctor (&data->base, stream);