diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
commit | b8c9b27d1e133d46199734ca1f047af8bb2d3314 (patch) | |
tree | 1aa002791f0e97bfc48c64222199e6d9f9e5eb53 /gdb/tui/tui.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 |
Replace free() with xfree().
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 9f83119..b38f67d 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); |