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/monitor.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 |
Replace free() with xfree().
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r-- | gdb/monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c index dec36da..ea7189b 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -752,7 +752,7 @@ monitor_open (char *args, struct monitor_ops *mon_ops, int from_tty) unpush_target (targ_ops); if (dev_name) - free (dev_name); + xfree (dev_name); dev_name = strsave (args); monitor_desc = SERIAL_OPEN (dev_name); @@ -851,7 +851,7 @@ monitor_close (int quitting) /* Free breakpoint memory */ if (breakaddr != NULL) { - free (breakaddr); + xfree (breakaddr); breakaddr = NULL; } |