X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fremote-mm.c;h=f6b5408733bfa4a56e4296ffeae0f37bf995369e;hb=b8c9b27d1e133d46199734ca1f047af8bb2d3314;hp=7840ed52cbc41bc1cf639be5ba4037181d0fb85b;hpb=6fa957a9b9408297206fb88e7c773931760f0528;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c index 7840ed52cb..f6b5408733 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.");