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/remote-rdi.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 |
Replace free() with xfree().
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r-- | gdb/remote-rdi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c index 2a45cad..0115e4d 100644 --- a/gdb/remote-rdi.c +++ b/gdb/remote-rdi.c @@ -331,7 +331,7 @@ device is attached to the remote system (e.g. /dev/ttya)."); for (entry = local_bp_list; entry != NULL; entry = entry->next) { if (preventry) - free (preventry); + xfree (preventry); } } @@ -773,7 +773,7 @@ arm_rdi_remove_breakpoint (CORE_ADDR addr, char *contents_cache) { preventry->next = entry->next; } - free (entry); + xfree (entry); } return 0; } @@ -982,7 +982,7 @@ rdilogfile_command (char *arg, int from_tty) } if (log_filename) - free (log_filename); + xfree (log_filename); log_filename = xstrdup (arg); |