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/umax-xdep.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 |
Replace free() with xfree().
Diffstat (limited to 'gdb/umax-xdep.c')
-rw-r--r-- | gdb/umax-xdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/umax-xdep.c b/gdb/umax-xdep.c index b8a3deb..84431fe 100644 --- a/gdb/umax-xdep.c +++ b/gdb/umax-xdep.c @@ -48,7 +48,7 @@ core_file_command (char *filename, int from_tty) and mark data and stack spaces as empty. */ if (corefile) - free (corefile); + xfree (corefile); corefile = 0; if (corechan >= 0) @@ -65,7 +65,7 @@ core_file_command (char *filename, int from_tty) if (filename) { filename = tilde_expand (filename); - make_cleanup (free, filename); + make_cleanup (xfree, filename); if (have_inferior_p ()) error ("To look at a core file, you must kill the program with \"kill\"."); |