* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / sun386-nat.c
index 987e82f0ebc3a5a496740275f37bbce27e120abb..326084e26bab4abb427235eb3201581c96b21aee 100644 (file)
@@ -53,7 +53,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)
@@ -70,7 +70,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.023062 seconds and 4 git commands to generate.