Replace free() with xfree().
[deliverable/binutils-gdb.git] / gdb / mi / mi-cmd-disas.c
index bbd1c00d374d7a6afc1c4d3e70efc48c2935d559..accddd5d542ec02805699e1b14d9cedb540ac9a6 100644 (file)
@@ -428,9 +428,9 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
                  ui_out_field_int (uiout, "offset", offset);
                }
              if (filename != NULL)
-               free (filename);
+               xfree (filename);
              if (name != NULL)
-               free (name);
+               xfree (name);
 
              ui_file_rewind (stb->stream);
              pc += (*tm_print_insn) (pc, &di);
@@ -476,9 +476,9 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
              ui_out_field_int (uiout, "offset", offset);
            }
          if (filename != NULL)
-           free (filename);
+           xfree (filename);
          if (name != NULL)
-           free (name);
+           xfree (name);
 
          ui_file_rewind (stb->stream);
          pc += (*tm_print_insn) (pc, &di);
This page took 0.041983 seconds and 4 git commands to generate.