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-mm.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-mm.c')
-rw-r--r-- | gdb/remote-mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c index 7840ed5..f6b5408 100644 --- a/gdb/remote-mm.c +++ b/gdb/remote-mm.c @@ -333,7 +333,7 @@ mm_open (char *name, int from_tty) /*EMPTY */ ; if (prog_name != NULL) - free (prog_name); + xfree (prog_name); prog_name = savestring (p, strlen (p)); @@ -1086,7 +1086,7 @@ mm_load (char *arg_string, int from_tty) error ("The load command takes a file name"); arg_string = tilde_expand (arg_string); - make_cleanup (free, arg_string); + make_cleanup (xfree, arg_string); QUIT; immediate_quit++; error ("File loading is not yet supported for MiniMon."); |