diff options
Diffstat (limited to 'gdb/tui/tui-file.c')
-rw-r--r-- | gdb/tui/tui-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-file.c b/gdb/tui/tui-file.c index 34591de..bf3574b 100644 --- a/gdb/tui/tui-file.c +++ b/gdb/tui/tui-file.c @@ -89,9 +89,9 @@ tui_file_delete (struct ui_file *file) if ((tmpstream->ts_streamtype == astring) && (tmpstream->ts_strbuf != NULL)) { - free (tmpstream->ts_strbuf); + xfree (tmpstream->ts_strbuf); } - free (tmpstream); + xfree (tmpstream); } struct ui_file * |