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-nindy.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | binutils-gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz |
Replace free() with xfree().
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r-- | gdb/remote-nindy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index 6428541cec3..691aa726b83 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -161,7 +161,7 @@ nindy_close (int quitting) nindy_serial = NULL; if (savename) - free (savename); + xfree (savename); savename = 0; } @@ -285,7 +285,7 @@ clean_up_tty (PTR ptrarg) { struct clean_up_tty_args *args = (struct clean_up_tty_args *) ptrarg; SERIAL_SET_TTY_STATE (args->serial, args->state); - free (args->state); + xfree (args->state); warning ("\n\nYou may need to reset the 80960 and/or reload your program.\n"); } @@ -299,7 +299,7 @@ static void clean_up_int (void) { SERIAL_SET_TTY_STATE (tty_args.serial, tty_args.state); - free (tty_args.state); + xfree (tty_args.state); signal (SIGINT, old_ctrlc); #ifdef SIGTSTP @@ -392,7 +392,7 @@ nindy_wait (int pid, struct target_waitstatus *status) } SERIAL_SET_TTY_STATE (tty_args.serial, tty_args.state); - free (tty_args.state); + xfree (tty_args.state); discard_cleanups (old_cleanups); if (stop_exit) @@ -603,7 +603,7 @@ nindy_load (char *filename, int from_tty) s->_raw_size, s->vma); ninMemPut (s->vma, buffer, s->_raw_size); - free (buffer); + xfree (buffer); } } bfd_close (file); |