diff options
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 7840ed52cbc..f6b5408733b 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."); |