2000-12-20 Fernando Nasser <fnasser@redhat.com>
[deliverable/binutils-gdb.git] / gdb / umax-xdep.c
index b8a3deb163b058697b51253407f3eb670f2873d7..84431fe47a52238ac80849752eed3654fba375e9 100644 (file)
@@ -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\".");
This page took 0.026975 seconds and 4 git commands to generate.