summaryrefslogtreecommitdiff
path: root/gdb/tui/tui.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-12-15 01:01:51 +0000
committerKevin Buettner <kevinb@redhat.com>2000-12-15 01:01:51 +0000
commit7fd5097f9fb26871e9f0b329f1cf5554495ed589 (patch)
tree20b4de6e7953169d2402aff4e158b475b5726e67 /gdb/tui/tui.c
parenteac388f33554805a5765a2836926311f77cd8d79 (diff)
downloadgdb-7fd5097f9fb26871e9f0b329f1cf5554495ed589.tar.gz
Replace free() with xfree().
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r--gdb/tui/tui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index 9f831193c6b..b38f67d8f7a 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -241,7 +241,7 @@ tuiFree (ptr)
{
if (ptr != (char *) NULL)
{
- free (ptr);
+ xfree (ptr);
}
return;
@@ -626,7 +626,7 @@ strcat_to_buf_with_fmt (va_alist)
format = va_arg (args, char *);
#endif
vasprintf (&linebuffer, format, args);
- old_cleanups = make_cleanup (free, linebuffer);
+ old_cleanups = make_cleanup (xfree, linebuffer);
strcat_to_buf (buf, bufLen, linebuffer);
do_cleanups (old_cleanups);
va_end (args);