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/mi/mi-cmd-disas.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 |
Replace free() with xfree().
Diffstat (limited to 'gdb/mi/mi-cmd-disas.c')
-rw-r--r-- | gdb/mi/mi-cmd-disas.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c index bbd1c00..accddd5 100644 --- a/gdb/mi/mi-cmd-disas.c +++ b/gdb/mi/mi-cmd-disas.c @@ -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); |